By this line adding to the app/routes.php file, you can apply 'csrf' filter to all routes
# CSRF Filter Route::when('*', 'csrf', ['post', 'put', 'patch', 'delete']);