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

ActiveLibrary

bernard/bernard
===============

Message queue abstraction layer

0.13.0(7y ago)1.2k1.9M↑19.8%128[9 issues](https://github.com/bernardphp/bernard/issues)[7 PRs](https://github.com/bernardphp/bernard/pulls)20MITPHPPHP &gt;=5.3.3

Since Mar 15Pushed 2y ago44 watchersCompare

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

READMEChangelog (10)Dependencies (10)Versions (38)Used By (20)

 [ ![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

50

—

FairBetter than 96% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity65

Solid adoption and visibility

Community48

Growing community involvement

Maturity60

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 ~83 days

Recently: every ~270 days

Total

35

Last Release

1966d 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.13.0 → 1.x-dev2020-12-29

PHP version history (4 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

### Community

Maintainers

![](https://www.gravatar.com/avatar/0e4e105cea62b616d4cb376b08a849b6a428f646998537de150d16a8eb537b90?d=identicon)[mark.sagikazar](/maintainers/mark.sagikazar)

![](https://www.gravatar.com/avatar/88caaddb9c765141dba5816fbb2f8a5ed8e2125338b97e30261e19bb88cdaa23?d=identicon)[henrikbjorn](/maintainers/henrikbjorn)

![](https://www.gravatar.com/avatar/93643c6c714600bc4e6a357345c5087f22ad62ae3251fb026f565fc4a96bcf59?d=identicon)[acrobat](/maintainers/acrobat)

---

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/bernard-bernard/health.svg)

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

PHPackages © 2026

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