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


Create a new job class


  • force - Create the class even if the job already exists Optional
  • sync - Indicates that job should be synchronous Optional
  • test - Generate an accompanying PHPUnit test for the Job Optional
  • pest - Generate an accompanying Pest test for the Job Optional


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