Top "Laravel-routing" questions

Routing in Laravel Framework's MVC implementation.

Laravel htaccess

I've setup a new install of Laravel on my local. It appears there are issues with htaccess or Apache settings. …

.htaccess laravel-4 laravel-routing
Laravel 5 - NotFoundHttpException in RouteCollection.php line 143

I get this error: Sorry, the page you are looking for could not be found. 1/1 NotFoundHttpException in RouteCollection.php line 143: …

laravel laravel-5 laravel-routing
Laravel 5 MethodNotAllowedHttpException in RouteCollection.php line 201:

I have a number of php files in my project: admin.blade.php: this files contains the admin form. When …

php laravel laravel-5 laravel-routing
Using Named URL in blade template

In Django, I can do this: <a href="{% url 'account_login' %}">Account Link</a> which would …

laravel-5 laravel-routing
How to route GET and POST for same pattern in Laravel?

Does anyone know of any way in Laravel 4 which combines these 2 lines into one? Route::get('login', 'AuthController@getLogin'); Route::…

php laravel laravel-routing
Access query string values from Laravel

Does anyone know if it's possible to make use of URL query's within Laravel. Example I have the following route: …

php laravel laravel-4 query-string laravel-routing
Laravel 4 All Routes Except Home Result in 404 Error

I installed Laravel 4 using Composer and also set up a virtual host. Currently, only the root route is working: <?…

laravel laravel-4 routing http-status-code-404 laravel-routing
How to use the request route parameter in Laravel 5 form request?

I am new to Laravel 5 and I am trying to use the new Form Request to validate all forms in …

php laravel laravel-5 laravel-routing laravel-validation
Laravel 5 Resourceful Routes Plus Middleware

Is it possible to add middleware to all or some items of a resourceful route? For example... <?php Route::…

laravel laravel-5 routes laravel-routing laravel-middleware
Redirect to Login if user not logged in Laravel

i am new to laravel, i have code in my controller's __construct like if(Auth::check()) { return View::make('view_…

laravel laravel-4 laravel-routing