Artisan.page

make:volt

Create a new Volt component

Terminal
php artisan make:volt [--class] [--functional] [-f|--force] [--test] [--pest] [--] <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

testOptional

Generate an accompanying PHPUnit test for the Volt component

Arguments

nameRequired

The name of the volt component