Generate Laravel model with goodies
21 March 2022 (Updated 21 March 2022)
pa make:model Author -m -f -R -c
This will create an Author model as well as:
-m: Create a new migration file for the model.-f: Create a new factory for the model.-R: Create new form request classes and use them in the resource controller.-c: Create a new controller for the model.
See pa make:model --help for more details.
Tagged:
Laravel
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment