laravel options route parameters code example Example: laravel route Route::get('user/{id}', function ($id) { return 'User '.$id; });