Artisan.page

make:volt

Create a new Volt component

Terminal
php artisan make:volt [--class] [--functional] [-f|--force] [--test] [--pest] [--phpunit] [--] <name>

Options

classOptional

Create a class based component

forceOptional

Create the Volt component even if the component already exists

functionalOptional

Create a functional component

pestOptional

Generate an accompanying Pest test for the Volt component

phpunitOptional

Generate an accompanying PHPUnit test for the Volt component

testOptional

Generate an accompanying Test test for the Volt component

Arguments

nameRequired

The name of the volt component