When adding a form to a public site, there's a risk that spam bots will try to submit it with fake values. Luckily, the majority of these bots are pretty dumb. You can thwart most of them by adding an invisible field to your form that should never contain a value when submitted. Such a field is called a honeypot. These spam bots will just fill all fields, including the honeypot. When a submission comes in with a filled honeypot field, this package will discard that request. On top of that this package also checks how long it took to submit the form. This is done using a timestamp in another invisible field. If the form was submitted in a ridiculously short time, the anti-spam will also be triggered.
Features
- All you need to do is to add the honeypot Blade component to your form
- Examples available
- You can install the package via Composer
- Documentation available
- Usage in Inertia
- Usage in Livewire
- Customize the response
Categories
FrameworksLicense
MIT LicenseFollow Laravel Honeypot
Other Useful Business Software
Intelligent testing agents | Checksum.ai
Coding agents write the code. Checksum runs it—continuously testing against real APIs, real data, real edge cases—before it ever reaches production.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Laravel Honeypot!