Answers for "Illuminate\Contracts\Container\BindingResolutionException Target class [ProductsController] does not exist."

3

IlluminateContractsContainerBindingResolutionExceptionTarget class [ProjectController] does not exist.

# ajouter le controller
use AppHttpControllersProjectController;


Route::resource('/projects', ProjectController::class);
Posted by: Guest on January-04-2021
1

IlluminateContractsContainerBindingResolutionException target calss does not exist

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']);
Posted by: Guest on May-03-2021

Code answers related to "Illuminate\Contracts\Container\BindingResolutionException Target class [ProductsController] does not exist."

Browse Popular Code Answers by Language