Commands.app

php artisan make:job

Code Generation

Create a new job class

Options & Flags
Available options for this command
--sync

Indicates that job should be synchronous

Examples
Common usage examples

Create a queued job

php artisan make:job ProcessPodcast
Notes
  • Jobs are dispatched to queue by default
  • Use dispatch() helper to queue jobs
Related Commands
You might also find these useful