Support the ongoing development of Laravel.io →
Requests
Last updated 1 month ago.
0

I also keep my controllers in folders like admin, frontend etc... and I don't use folder name at all. It resolves by itself. Please try like it's not inside a sub folder.

// app/controllers/tracker/TrackerController.php
// Do not forget "composer dump-autoload" after controller creation
Route::get('tracker','[email protected]');
Last updated 1 month ago.
0

I wonder if you need to delete the compile.php so that it gets recreated to find your new files.

Last updated 1 month ago.
0

Sign in to participate in this thread!

Cloudways

Your banner here too?

wkolcz wkolcz wkolcz Joined 17 Mar 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.