Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel route target class not found

Routing namespaces have been updated on Laravel 8.X

On your router, you should define:
use AppHttpControllersTestController;

And then, declare:
Route::get('test',[TestController::class, 'test']);
 
PREVIOUS NEXT
Tagged: #laravel #route #target #class
ADD COMMENT
Topic
Name
9+8 =