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

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

wpkit/bernard
=============

Message queue abstraction layer

1.0.1(2y ago)0711MITPHPPHP &gt;=8.1

Since Mar 15Pushed 2y agoCompare

[ Source](https://github.com/wp-kit/bernard)[ Packagist](https://packagist.org/packages/wpkit/bernard)[ Docs](https://github.com/bernardphp/bernard)[ RSS](/packages/wpkit-bernard/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (2)Dependencies (11)Versions (41)Used By (1)

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

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity84

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 69.8% 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 ~102 days

Recently: every ~412 days

Total

38

Last Release

1021d 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 (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

1.0.1PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/b4cf98026bd84498477fafbfb9648807bf87c5ec9a0a404db2e3b7e2739cc8f9?d=identicon)[terence1990](/maintainers/terence1990)

---

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 (129 commits)")[![acrobat](https://avatars.githubusercontent.com/u/1374857?v=4)](https://github.com/acrobat "acrobat (28 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)")[![ruudk](https://avatars.githubusercontent.com/u/104180?v=4)](https://github.com/ruudk "ruudk (11 commits)")[![ackintosh](https://avatars.githubusercontent.com/u/1885716?v=4)](https://github.com/ackintosh "ackintosh (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)")[![paolooo](https://avatars.githubusercontent.com/u/2041512?v=4)](https://github.com/paolooo "paolooo (7 commits)")[![terence1990](https://avatars.githubusercontent.com/u/8171301?v=4)](https://github.com/terence1990 "terence1990 (7 commits)")[![Baachi](https://avatars.githubusercontent.com/u/833645?v=4)](https://github.com/Baachi "Baachi (7 commits)")[![davidsteinsland](https://avatars.githubusercontent.com/u/125661?v=4)](https://github.com/davidsteinsland "davidsteinsland (7 commits)")[![toin0u](https://avatars.githubusercontent.com/u/672421?v=4)](https://github.com/toin0u "toin0u (7 commits)")[![karser](https://avatars.githubusercontent.com/u/1675033?v=4)](https://github.com/karser "karser (4 commits)")[![bashilbers](https://avatars.githubusercontent.com/u/455905?v=4)](https://github.com/bashilbers "bashilbers (4 commits)")[![jmikola](https://avatars.githubusercontent.com/u/244663?v=4)](https://github.com/jmikola "jmikola (4 commits)")[![luklub](https://avatars.githubusercontent.com/u/9394490?v=4)](https://github.com/luklub "luklub (4 commits)")[![makasim](https://avatars.githubusercontent.com/u/143206?v=4)](https://github.com/makasim "makasim (3 commits)")[![kynx](https://avatars.githubusercontent.com/u/1320145?v=4)](https://github.com/kynx "kynx (3 commits)")

---

Tags

messagequeuemessage queuebernard

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[php-amqplib/rabbitmq-bundle

Integrates php-amqplib with Symfony &amp; RabbitMq. Formerly emag-tech-labs/rabbitmq-bundle, oldsound/rabbitmq-bundle.

1.3k20.1M65](/packages/php-amqplib-rabbitmq-bundle)[clue/mq-react

Mini Queue, the lightweight in-memory message queue to concurrently do many (but not too many) things at once, built on top of ReactPHP

144691.7k4](/packages/clue-mq-react)[aliyunmq/mq-http-sdk

Aliyun Message Queue(MQ) Http PHP SDK, PHP&gt;=5.5.0

75379.9k14](/packages/aliyunmq-mq-http-sdk)[pekkis/queue

Queue abstraction library

18129.9k2](/packages/pekkis-queue)

PHPackages © 2026

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