Disable CSRF Token on specific Routes Laravel

December 26, 2015

CSRF is enable by default on all Routes in Laravel 5. Sometime you want don’t want to use a CSRF. You can disable it by a specific routes. Edit /app/Http/Middleware/VerifyCsrfToken.php like this

Share and Enjoy

Email
Print