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

make:job

Create a new job class

Options

  • sync - Indicates that job should be synchronous Optional

Arguments

  • name - The name of the class Required
php artisan make:job [--sync] [--] <name>