make:class

Create a new class

Options

  • invokable - Generate a single method, invokable class Optional
  • force - Create the class even if the class already exists Optional

Arguments

  • name - The name of the class Required
php artisan make:class [-i|--invokable] [-f|--force] [--] <name>