Support the ongoing development of Laravel.io →
Security

Hi folks!

I always use beforeFilter('csrf') in my laravel files, with Laravel 5, where csrf are added by default in Kernel file and works everywhere in/with middleware, I must delete all my beforeFilter('csrf')?? It's safe to do this?

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.