Open princejohnsantillan opened 7 months ago
This would be so cool!
Nice one! Was looking for this as well.
But we need to account that we want to create something in the /app
folder as well.
I'm not sure if I'm following. This PR allows modular and non-modular files to be generated.
php artisan make:model Flight
(creates in /app
)
php artisan make:model Flight --module
php artisan make:model Flight --module=airport
But we need to account that we want to create something in the
/app
folder as well.
If you don't add --module
it will create it on the app folder by default.
Currently this value is required, example:
php artisan make:controller TestController --module=module-1
This PR allows for us to just select it from a list, example:
php artisan make:controller TestController --module