Download the PHP package wpkit/queue without Composer
On this page you can find all versions of the php package wpkit/queue. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package queue
wp-kit/queue
This is a wp-kit component that provides a queue system when using Bedrock and Redis
Installation
Setup
Add Service Provider
Just register the service provider and facade in the providers config and theme config:
How To Use
Make sure you have Redis installed on the server with default setup.
Examples of how what a Job file should look like can be found in the jobs folder.
Add these to you bedrock/root/jobs
directory manually.
Make sure you are running the queue in a shell window, or via Supervisor:
You can then dispatch jobs within your wp-kit code as follows:
You should then see the string bar
echo'd in the shell window.
Also, in bedrock/root/logs
folder there will be a queue file, you could open it or tail
it and see the following:
Get Involved
To learn more about how to use check out the docs:
Any help is appreciated. The project is open-source and we encourage you to participate. You can contribute to the project in multiple ways by:
- Reporting a bug issue
- Suggesting features
- Sending a pull request with code fix or feature
- Following the project on GitHub
- Sharing the project around your community
For details about contributing to the framework, please check the contribution guide.
Requirements
Wordpress 4+
PHP 5.6+
Redis
License
wp-kit/queue is open-sourced software licensed under the MIT License.
All versions of queue with dependencies
psr/container Version ^1.1.0
symfony/property-access Version ^3.3
predis/predis Version ^1.1
zendframework/zend-servicemanager Version ^3.3