Top "Laravel-routing" questions

Routing in Laravel Framework's MVC implementation.

TokenMismatchException in VerifyCsrfToken - Laravel 5.1

I am building a REST API using Laravel 5.1 and I am getting this error: TokenMismatchException in VerifyCsrfToken.php line 53: Here …

php laravel laravel-5 laravel-routing laravel-5.1
Prevent Sessions For Routes in Laravel (Custom on-demand session handling)

I am building APIs for my Android app using laravel and default session driver set to REDIS. I found a …

php session laravel laravel-4 laravel-routing
Laravel 4 : How to pass multiple optional parameters

I am new to laravel and I am really struggling to understand how to pass multiple optional url parameters. What …

php laravel laravel-routing
Laravel - How to pass variables to middleware through route group?

This is my route group, Route::group(['middleware' => 'checkUserLevel'], function () { // my routes }); And this is my middleware checkUserLevel, public …

php laravel-5 laravel-routing laravel-5.4 laravel-middleware
debugging laravel artisan from PHPStorm with homestead

I setup Laravel Homestead. I then configured both homestead xdebug.ini and PHPStorm to make the debugging work. Here is …

laravel vagrant xdebug laravel-routing homestead
How to make routes in Laravel case insensitive?

I have a project in laravel and there are many routes in that project. But i just discovered that the …

php regex laravel laravel-5 laravel-routing
Laravel 5.1 Routes that have question mark

I'm trying to create a route in Laravel 5.1 that will search the records base on "keyword". I like to include …

php laravel routes laravel-5.1 laravel-routing