make:enum

Create a new enum

Options

  • string - Generate a string backed enum. Optional
  • int - Generate an integer backed enum. Optional
  • force - Create the enum even if the enum already exists Optional

Arguments

  • name - The name of the enum Required
php artisan make:enum [-s|--string] [-i|--int] [-f|--force] [--] <name>