In this blog we take a closer look into CSRF protection in Laravel. We compare the difference between the CSRF filter in Laravel 4 and the current VerifyCsrfToken middleware in Laravel 5.

Why do we need CSRF protection?

Laravel has CSRF-protection enabled by default. So even if you don’t know what CSRF is, or why we…

Barry vd. Heuvel

Webdeveloper from the Netherlands, mostly focused on PHP. Co-founder and lead developer @ Fruitcake.nl

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store