Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Honeypot Laravel Package

spatie/laravel-honeypot

Protect Laravel forms from spam bots with a simple honeypot field and submit-time check. Add the x-honeypot Blade component (or pass values manually for Inertia) and automatically discard suspicious submissions with filled traps or too-fast posts.

View on GitHub
Deep Wiki
Context7
4.7.2

What's Changed

A bot that filled the honeypot field with "0" previously passed the spam check, because empty("0") is true in PHP. Only a genuinely blank field (null or "") is now allowed through.

Full Changelog: https://github.com/spatie/laravel-honeypot/compare/4.7.1...4.7.2

4.7.1

Support Livewire 4

4.7.0

Add Laravel 13 support

4.5.2
4.5.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-honeypot/compare/4.5.0...4.5.1

4.4.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-honeypot/compare/4.3.4...4.4.0

4.3.4

Fix autocomplete attribute value

4.3.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-honeypot/compare/4.3.0...4.3.1

4.3.0
4.2.3
4.2.2

Full Changelog: https://github.com/spatie/laravel-honeypot/compare/4.2.1...4.2.2

4.2.1
  • Add autocomplete=off to input fields

Full Changelog: https://github.com/spatie/laravel-honeypot/compare/4.2.0...4.2.1

4.2.0
4.1.0
  • support Laravel 9
4.0.0
  • add support for Fortify
  • drop support for PHP 7
3.0.1
  • add support for PHP 8
3.0.0
  • drop support for anything below PHP 7.4, Laravel 8
  • add x-honeypot Blade component
  • move setup to dedicated class, so it can be used in Inertia
2.3.0
  • add support for Laravel 8
  • add option to skip valid_from timestamp check
2.2.0
  • reverts back block all requests without honeypot fields and adds an option to enable it
2.1.0
  • drop support for anything below Laravel 7
2.0.0
  • block all requests without honeypot fields
1.5.0
  • make compatible with Laravel 7
1.3.4
  • improve validation of the timestamp
1.4.0
  • make compatible with Laravel 6
1.3.3
  • fix invalid payload error
1.3.2
  • drop support for Laravel 5.7 and Carbon 1
1.3.1
  • fix requirements
1.3.0
  • drop support for PHP 7.1
1.2.0
  • add support for Laravel 5.8
1.1.3
  • fix name field name
1.1.2
  • restrict honeypot to POST requests only
1.1.1
  • use underscores instead of dashes for form field names
1.0.2
  • fix view hint path
1.0.1
  • allow Laravel 5.6
1.0.0
  • initial release
1.1.0
  • add randomized name field name
What's
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
codraw/framework-extra-bundle
codraw/messenger
codraw/security
codraw/mailer
codraw/contracts
codraw/profiling
codraw/dependency-injection
codraw/tester
codraw/core
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony