make:trait

Create a new trait

Options

  • force - Create the trait even if the trait already exists Optional

Arguments

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