Artisan.page

make:view

Create a new view

Terminal
php artisan make:view [--extension [EXTENSION]] [-f|--force] [--test] [--pest] [--phpunit] [--] <name>

Options

extensionOptional

The extension of the generated view

forceOptional

Create the view even if the view already exists

pestOptional

Generate an accompanying Pest test for the View

phpunitOptional

Generate an accompanying PHPUnit test for the View

testOptional

Generate an accompanying Test test for the View

Arguments

nameRequired

The name of the view