I would disable all of the routes and run a basic test, something like this
Route::get('/test', function () {
return 'just a test';
});
If it still runs slow, then it is likely something either in a vendor package or some other service provider, filter,... - something that runs with each route no matter what.
If it does not run slowly, then it would be time to start putting the routes back one at a time testing each time.
If it is a specific route then you might look at if you have any construct objects in the controller...
Hope those ideas help
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community