Freek Van der Herten has just released a cool package called laravel-honeypot. Using this package, we can prevent spam easily.

laravel honeypot

How honeypots work? The majority of spam 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 fill all fields, including the honeypot. When a submission comes in with a filled honeypot field, our package will discard that request.

Introduction and tutorial

Source Code