And lastly, here is the middleware page of the Laravel Manual (where VerifyCsrfToken.php is located)...
Great youtube video demonstrating the entire process. They use a single line if/else but otherwise...
In Laravel 5 you can no loner use the Route::filter method mentioned by ayyobro. You have to add so...
The Laravel portal for problem solving, knowledge sharing and community building.
The community