Hi all,
I'm developing a Laravel package, which uses some MainController and AuthController. Both of them extends MyBaseController (also in the package). This is the directory structure for controllers:
workbench/developer/package/src/controllers/MyBaseController.php
workbench/developer/package/src/controllers/MainController.php
workbench/developer/package/src/controllers/AuthController.php
All of the controllers have defined namespace:
namespace Developer\Package;
The problem is that I'm getting this error:
Class 'Developer\Package\MyBaseController' not found
Could anybody tell me, what I'm doing wrong or how to fix this?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community