I am using "laravel/framework": "4.2. *" version, and I want to use the module system for my project. I have followed the instructions provided in this document.
I can create modules by using the command: php artisan modules:create module_name
. I have created an admin module in my app directory, and the module's directory structure has been created.
I am using DB::select('some SQL statement')
in one of the actions of the controller from the admin module, but it is giving me the following error:
Class 'AppModulesAdminControllersDB' not found.
Why is it not able to find this class?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…