Protect Forms using Honeypot Laravel Spam Protection Technique

Full Article :

LikeGeeks -

Laravel framework has a powerful protection from CSRF, XSS, and SQL injection, but there is no built-in Laravel spam protection.

If you need to protect your form from spam bots, you can use something like Akismet or reCaptcha which provide strong spam protection.

OK, but your users maybe don’t like it because of the nag images that may appear from time to time or solving those puzzles to submit the form.

For me, I find that the honeypot technique much better in many cases, where there is a hidden field in the form and when submitting that field, a validation rule will validate

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: