Skip to the content.

Creating a job

To create a job, we use the “php artisan make:module:job ModuleName jobName” command.

php artisan make:module:job blog BlogJob

This will create a job in the path modules/blog/src/Jobs/BlogJob.php