make:view

Create a new view

Options

  • extension - The extension of the generated view Optional
  • force - Create the view even if the view already exists Optional
  • pest - Generate an accompanying Pest test for the View Optional
  • phpunit - Generate an accompanying PHPUnit test for the View Optional
  • test - Generate an accompanying Test test for the View Optional

Arguments

  • name - The name of the view Required
php artisan make:view [--extension [EXTENSION]] [-f|--force] [--test] [--pest] [--phpunit] [--] <name>