Skip to content

Protect Forms Using Honeypot Laravel Spam Protection Technique

github logo ・1 min read  

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.

Thanks in advance.

twitter logo DISCUSS
Classic DEV Post from Aug 25 '19

What is a good team lead in your opinion?

What is the most important quality for the team lead?

macnux profile image

Be a better developer. Free forever.