How to create controller and model files outside of app folder. For example, when we do
php artisan make:model ModelName
php artisan make:model SomeFolder/ModelName
I don't see the reason, but I managed to make it on my local computer by
php artisan make:model ../../mOdel . Probably in production environment you won't be allowed to do this.