The Laravel Artisan Cheatsheet now has an API. Learn more.


Create a new view


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


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