make:factory

Create a new model factory

Options

  • model - The name of the model Optional

Arguments

  • name - The name of the class Required
php artisan make:factory [-m|--model [MODEL]] [--] <name>