devorto/queue

Simple queue implementation. Load / Run queue commands (with custom storage support).

2.0.4 2020-12-29 09:23 UTC

This package is auto-updated.

Last update: 2024-03-29 04:12:01 UTC


README

Usage:
  1. Add a class implementing the storage interface. This class will be used to get/add items from/to the queue. For example in this class you can use a database driver (mysql or alike) to store the commands.
  2. Create the symfony console command class(es).
  3. Run the symfony console commands by using a queue implementation. For example src/Commands/Run.php. But also if you like to create your own implementation this code is a good starting point.