How to write artisan command to create model and controller inside specific directories.
If I do this command::
php artisan make:model Post -mcr
it create Post controller inside controllers folder, Post model inside models directory.
But is there any artisan command or any other process to create controller and model inside Admin-> Services inside Controllers and Models folder respectively.
I tried this command::
php artisan make:model Admin\Services\Post -mc
it created Post model inside models->Admin->Services folder but did not create directory for Post controller.
Thank You!!!