PHPackages                             ansien/simple-job-queue-bundle - 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. ansien/simple-job-queue-bundle

ActiveSymfony-bundle[Queues &amp; Workers](/categories/queues)

ansien/simple-job-queue-bundle
==============================

Simple background jobs for your Symfony application without RabbitMQ or other external dependencies.

1.0.0(6y ago)214MITPHPPHP &gt;=7.3.0CI failing

Since Nov 26Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ansien12/SimpleJobQueueBundle)[ Packagist](https://packagist.org/packages/ansien/simple-job-queue-bundle)[ Docs](https://andries.io)[ RSS](/packages/ansien-simple-job-queue-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

**Warning: This package is abandoned and no longer maintained. Use [schmittjoh/JMSJobQueueBundle](https://github.com/schmittjoh/JMSJobQueueBundle) package instead.**

SimpleJobQueueBundle
====================

[](#simplejobqueuebundle)

[![Latest Version on Packagist](https://camo.githubusercontent.com/dd315eb2ff430ebd6d76ef49c23b6ccbbfa5c2cea9ad8fdfc10020ca991e3722/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616e7369656e2f73696d706c652d6a6f622d71756575652d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ansien/simple-job-queue-bundle)[![MIT Licensed](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/4634f7fa570e3cfcfa8d10ba97cdc67cd39616fdabbe4ceeae7b9ddc19085098/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f616e7369656e2f73696d706c652d6a6f622d71756575652d62756e646c652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/ansien/simple-job-queue-bundle)[![Total Downloads](https://camo.githubusercontent.com/087341e802fbecc4641112146c55dce5108f1e5fbb3d20ee2fd5dcb57c50f4a0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616e7369656e2f73696d706c652d6a6f622d71756575652d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ansien/simple-job-queue-bundle)

The bundle makes it very easy to run background jobs in your Symfony application, without the use of a message queue such as RabbitMQ.

This allows you to speed up your Symfony application by runnings heavy tasks or calculations in the background.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require ansien/simple-job-queue-bundle
```

After installation: create a migration or run the `php bin/console doctrine:schema:update --force` command to create the `sjqb_jobs` table.

Usage
-----

[](#usage)

### Creating a job

[](#creating-a-job)

You can inject the `Ansien\SimpleJobQueueBundle\Service\SimpleJobService` service. This service allows you to easily create a job. You can also manually create and persist an instance of `Ansien\SimpleJobQueueBundle\Entity\Job`.

```
$this->simpleJobService->createJob('app:test-command', [
    'foo' => 'bar'
    '--optional-foo' => 'bar'
]);
```

### Running pending jobs (development environment)

[](#running-pending-jobs-development-environment)

You can run all pending jobs while developing by using:

```
php bin/console simple-job-queue:run
```

### Running pending jobs (production environment)

[](#running-pending-jobs-production-environment)

In your production environment it is recommended to use Supervisor which allows you to run multiple jobs in parallel and automatically recover if a job crashes guaranteeing high availability.

Below is an example config which you can use:

```
[program:simple_job_queue]
command=php %kernel.root_dir%/console simple-job-queue:run --env=prod --verbose
process_name=%(program_name)s
numprocs=1
directory=/tmp
autostart=true
autorestart=true
startsecs=5
startretries=10
user=www-data
redirect_stderr=false
stdout_logfile=/var/log/simple_job_queue.out.log
stdout_capture_maxbytes=1MB
stderr_logfile=/var/log/simple_job_queue.error.log
stderr_capture_maxbytes=1MB
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
composer test
```

Credits
-------

[](#credits)

This bundle is heavily inspired by the more popular [JMSJobQueueBundle](https://github.com/schmittjoh/JMSJobQueueBundle). The reason for this bundle being created is the lack of updates on that bundle and missing Symfony 5 support.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2363d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9cc180e5a68cc57ba2f6f415776f42c67ca65e24201f6b785fe2c0bb393b6bad?d=identicon)[ansien12](/maintainers/ansien12)

---

Top Contributors

[![ansien](https://avatars.githubusercontent.com/u/1700132?v=4)](https://github.com/ansien "ansien (14 commits)")

---

Tags

phpsymfonyqueuejobcronSimplebackgroundscheduled

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/ansien-simple-job-queue-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/ansien-simple-job-queue-bundle/health.svg)](https://phpackages.com/packages/ansien-simple-job-queue-bundle)
```

###  Alternatives

[jms/job-queue-bundle

Allows to run and schedule Symfony console commands as background jobs.

3462.3M5](/packages/jms-job-queue-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
