Avoid forms spamming in Laravel 9

  • avatar
  • 2.7K Views
  • 5 Likes
  • 4 mins read
Preview post image

Having a public site with forms can become a headache if we do not prevent spam bots from submitting fake information to our application. Luckily, there is a simple and effective way to defer some of the spam using honeypots. This technique is based on creating a hidden input field that should be left empty by the real users of the application but will most likely be filled out by spam bots.

Hey visitor! Register your account and get access to featured articles and more - it's free.