Top "Laravel-routing" questions

Routing in Laravel Framework's MVC implementation.

Apply Auth Middleware to All Laravel Routes

What is the correct way to authenticate all routes except login and register when I apply auth middleware in all …

laravel laravel-5 laravel-routing laravel-middleware
FatalErrorException in HtmlServiceProvider.php line 36: laravel

I am using laravel 5.2 and I am getting following error FatalErrorException in HtmlServiceProvider.php line 36: Call to undefined method Illuminate\…

laravel laravel-routing laravel-5.2
Laravel How to remove "api" Prefix from subdomain URL

I have created a Laravel application which is both Web application and provides REST APIs to android and iOS platforms. …

laravel laravel-5.5 laravel-routing
Getting route parameters in Lumen

When trying to access Route parameters, using $request->route('id'), in latest version of Lumen, I get an error. …

laravel laravel-routing lumen lumen-5.4 lumen-routing
Location of PHP error logs in Laravel Homestead

I'm currently experiencing routing issues, where various pages of my application are returning white pages. Where are the PHP logs …

php laravel logging laravel-5 laravel-routing
Single route giving a 403 Forbidden error in Laravel 4

I have been trying to figure out why this is happening for the past couple of days with no success. …

laravel laravel-4 laravel-routing
How to prevent Laravel Routes from being accessed directly (i.e. non-ajax requests)

In my project, I am using Laravel purely as a backend api and all frontend is handled by Angular javascript. …

laravel laravel-routing laravel-5.1 laravel-middleware laravel-filters
How to Add More than One Item to Middleware on Route in Laravel 5

I recently started using Laravel 5 and I'm having a lot of trouble implementing a system that not only authorizes users, …

laravel-5 laravel-routing
Laravel: How to respond with custom 404 error depending on route

I'm using Laravel4 framework and I came across this problem. I want to display a custom 404 error depending on requested …

laravel laravel-4 http-status-code-404 laravel-routing
Laravel 5 Cached Routes not updating

I've cached my Laravel 5 routes by doing php artisan route:cache. This went succesfull for quite a while and when …

php laravel laravel-5 laravel-routing