PHPackages                             n0nag0n/simple-job-queue - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Queues &amp; Workers](/categories/queues)
4. /
5. n0nag0n/simple-job-queue

ActiveLibrary[Queues &amp; Workers](/categories/queues)

n0nag0n/simple-job-queue
========================

A simple library for interfacing with other job queue providers that gives you plenty of flexibility. Currently supports MySQL

1.2.0(11mo ago)351.8k↓50%71MITPHP

Since Sep 28Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/n0nag0n/simple-job-queue)[ Packagist](https://packagist.org/packages/n0nag0n/simple-job-queue)[ RSS](/packages/n0nag0n-simple-job-queue/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (3)Versions (9)Used By (1)

Simple PHP Job Queue
====================

[](#simple-php-job-queue)

I wanted/needed a simple job queue that could be used on a database, but also used with other adapters like beanstalkd/redis/etc if needed. Didn't really see a good option for a standalone job queue for a database.

Install
-------

[](#install)

```
composer require n0nag0n/simple-job-queue
```

Usage
-----

[](#usage)

In order for this to work, you need a way to add jobs to the queue and a way to process the jobs (a worker). Below are examples of how to add a job to the queue and how to process the job.

### Adding a new job

[](#adding-a-new-job)

#### MySQL

[](#mysql)

```
