Job Queue
By Edward Barnard
The Back Office building blocks (Command, Job, Model, table) use Laravel Jobs, which, in turn, use queue request tables. Here, we are setting up a minimal configuration with Liquibase table management, queue request table, Laravel job, and Laravel Command to dispatch that job. We explicitly use a “boilerplate” approach that allows you to quickly focus on what’s specific to the job/process in question. Finally, we show the “dispatch self” technique, allowing the job to iterate through extended input. by Edward Barnard
This article was originally published in the October 2024 issue of php[architect] magazine. To read the complete article please subscribe or purchase the complete issue.
Leave a comment
Use the form below to leave a comment: