Bernard is a multi-backend PHP library for creating background jobs for later processing.
Clone or download
Latest commit 9672398 Jun 16, 2018


Latest Version Build Status Code Coverage Quality Score Total Downloads

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


Via Composer

$ composer require bernard/bernard


Please see the official documentation.


We try to follow BDD and TDD, as such we use both phpspec and phpunit to test this library.

$ composer test

You can run the functional tests by executing:

$ composer test-functional


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