sajad torkamani
 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