PHPackages                             mobtitude/bernard - 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. mobtitude/bernard

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

mobtitude/bernard
=================

Message queue abstraction layer

0.14.0(3mo ago)050MITPHPPHP ^7.0|^8.0

Since Mar 15Pushed 3mo agoCompare

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

READMEChangelogDependencies (10)Versions (39)Used By (0)

 [ ![Bernard](https://camo.githubusercontent.com/a5027536d714f0cedf1a717c177c52b65c49d5d54ec7a67f3fc5812afed6b7e1/68747470733a2f2f6265726e6172642e72656164746865646f63732e696f2f5f7374617469632f696d672f6c6f676f5f736d616c6c4032782e706e67) ](http://bernard.rtfd.org)

[![Latest Version](https://camo.githubusercontent.com/bc421ff302333678d944d71b1a5e1f71d645cc87f71858cc24ba6bdce135d0ae/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6265726e6172647068702f6265726e6172642e7376673f7374796c653d666c61742d737175617265)](https://github.com/bernardphp/bernard/releases)[![Minimum PHP Version](https://camo.githubusercontent.com/eb773fa94283cbea6c7b192d460983a781ae4a16409af56d109fe3e8e71ab6c9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230372e342d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/)[![GitHub Workflow Status](https://camo.githubusercontent.com/22a8722a6b8367db6d847feff0b5a7de6187e98180dd810ce02037eba2ba1dca/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6265726e6172647068702f6265726e6172642f43493f7374796c653d666c61742d737175617265)](https://github.com/bernardphp/bernard/actions?query=workflow%3ACI)[![Total Downloads](https://camo.githubusercontent.com/7bc0683fe73067f324f8e9a2e48dc8e5aa405724b69f227ea521f9917b238f90/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6265726e6172642f6265726e6172642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bernard/bernard)

Bernard makes it super easy and enjoyable to do background processing in PHP. It does this by utilizing queues and long running processes. It supports normal queueing drivers but also implements simple ones with Redis and Doctrine.

Currently these are the supported backends, with more coming with each release:

- Predis / PhpRedis
- Amazon SQS
- Iron MQ
- Doctrine DBAL
- Pheanstalk
- PhpAmqp / RabbitMQ
- Queue interop

Install
-------

[](#install)

Via Composer

```
$ composer require bernard/bernard
```

Documentation
-------------

[](#documentation)

Please see the [official documentation](https://bernard.readthedocs.org).

Testing
-------

[](#testing)

We try to follow BDD and TDD, as such we use both [phpspec](http://www.phpspec.net) and [phpunit](https://phpunit.de) to test this library.

```
$ composer test
```

You can run the functional tests by executing:

```
$ composer test-functional
```

License
-------

[](#license)

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

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance79

Regular maintenance activity

Popularity12

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 68.4% 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

Every ~134 days

Recently: every ~727 days

Total

36

Last Release

110d ago

Major Versions

0.12.2 → 1.0.0-alpha12015-11-05

0.12.3 → 1.0.0-alpha32016-03-14

v0.12.4 → v1.0.0-alpha82018-01-13

0.x-dev → 1.x-dev2026-01-28

PHP version history (5 changes)0.1.0PHP &gt;=5.3.3

1.0.0-alpha1PHP ~5.4 || ~7.0

1.0.0-alpha3PHP ~5.4|~7.0

v1.0.0-alpha5PHP ^5.6 || ^7.0

0.14.0PHP ^7.0|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/944723e0c69152fba70f3307ed47ee9d850323f7ec9f993da1850f3ea0fbf3b2?d=identicon)[mobtitude](/maintainers/mobtitude)

---

Top Contributors

[![henrikbjorn](https://avatars.githubusercontent.com/u/19725?v=4)](https://github.com/henrikbjorn "henrikbjorn (692 commits)")[![sagikazarmark](https://avatars.githubusercontent.com/u/1226384?v=4)](https://github.com/sagikazarmark "sagikazarmark (154 commits)")[![acrobat](https://avatars.githubusercontent.com/u/1374857?v=4)](https://github.com/acrobat "acrobat (29 commits)")[![elazar](https://avatars.githubusercontent.com/u/15487?v=4)](https://github.com/elazar "elazar (16 commits)")[![bendavies](https://avatars.githubusercontent.com/u/625392?v=4)](https://github.com/bendavies "bendavies (12 commits)")[![ackintosh](https://avatars.githubusercontent.com/u/1885716?v=4)](https://github.com/ackintosh "ackintosh (11 commits)")[![ruudk](https://avatars.githubusercontent.com/u/104180?v=4)](https://github.com/ruudk "ruudk (11 commits)")[![holtkamp](https://avatars.githubusercontent.com/u/776405?v=4)](https://github.com/holtkamp "holtkamp (9 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (8 commits)")[![davidsteinsland](https://avatars.githubusercontent.com/u/125661?v=4)](https://github.com/davidsteinsland "davidsteinsland (7 commits)")[![Baachi](https://avatars.githubusercontent.com/u/833645?v=4)](https://github.com/Baachi "Baachi (7 commits)")[![paolooo](https://avatars.githubusercontent.com/u/2041512?v=4)](https://github.com/paolooo "paolooo (7 commits)")[![toin0u](https://avatars.githubusercontent.com/u/672421?v=4)](https://github.com/toin0u "toin0u (7 commits)")[![jmikola](https://avatars.githubusercontent.com/u/244663?v=4)](https://github.com/jmikola "jmikola (4 commits)")[![bashilbers](https://avatars.githubusercontent.com/u/455905?v=4)](https://github.com/bashilbers "bashilbers (4 commits)")[![karser](https://avatars.githubusercontent.com/u/1675033?v=4)](https://github.com/karser "karser (4 commits)")[![luklub](https://avatars.githubusercontent.com/u/9394490?v=4)](https://github.com/luklub "luklub (4 commits)")[![kynx](https://avatars.githubusercontent.com/u/1320145?v=4)](https://github.com/kynx "kynx (3 commits)")[![martinssipenko](https://avatars.githubusercontent.com/u/598744?v=4)](https://github.com/martinssipenko "martinssipenko (3 commits)")[![makasim](https://avatars.githubusercontent.com/u/143206?v=4)](https://github.com/makasim "makasim (3 commits)")

### Embed Badge

![Health badge](/badges/mobtitude-bernard/health.svg)

```
[![Health](https://phpackages.com/badges/mobtitude-bernard/health.svg)](https://phpackages.com/packages/mobtitude-bernard)
```

###  Alternatives

[league/geotools

Geo-related tools PHP 7.3+ library

1.4k5.3M26](/packages/league-geotools)[enqueue/enqueue

Message Queue Library

19820.0M56](/packages/enqueue-enqueue)[deliciousbrains/wp-background-processing

WP Background Processing can be used to fire off non-blocking asynchronous requests or as a background processing tool, allowing you to queue tasks.

1.1k409.8k6](/packages/deliciousbrains-wp-background-processing)[react/async

Async utilities and fibers for ReactPHP

2228.8M171](/packages/react-async)[react/promise-stream

The missing link between Promise-land and Stream-land for ReactPHP

11512.9M45](/packages/react-promise-stream)[illuminate/bus

The Illuminate Bus package.

6043.8M409](/packages/illuminate-bus)

PHPackages © 2026

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