make:enum

Create a new enum

Options

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

Arguments

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