Laravel Tutorials / updated: July 19, 2016

Learn about CSRF in Laravel

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.

Laravel News Partners

Newsletter

Join the weekly newsletter and never miss out on new tips, tutorials, and more.