Learn about CSRF in Laravel
Published on by Eric L. Barnes
Barry vd. Heuvel:
In this post we take a closer look at CSRF protection in Laravel. We compare the difference between the CSRF filter in Laravel 4 and the current VerifyCsrfToken middleware in Laravel 5.
Barry also covers the Timing safe comparison, checking the headers, and modifying the middleware.
It’s a great post to learn more about how Laravel handles CSRF.
Eric is the creator of Laravel News and has been covering Laravel since 2012.