Sunday, April 16, 2017

Laravel 5.4 composer error

I am facing a strange issue with Laravel 5.4.9. I tried to install a repository instead might have made a mess by installing it as a controller. Now when I type "php artisan route:list", I am getting this error.

[ReflectionException] Class App\Http\Controllers\ProjectRepositoryInterface does not exist.

This ProjectRepositoryInterface is in repository folder and it works normal.

I want to know where the controller classes are registered and stored? Are they stored in a file (like we bind the repository and interface in the app service provider file).

How to get rid of this error?



via user6404606

Advertisement