/bernard

Bernard is a multi-backend PHP library for creating background jobs for later processing.

Primary LanguagePHPMIT LicenseMIT

Bernard

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

Install

Via Composer

$ composer require bernard/bernard

Documentation

Please see the official documentation.

Testing

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

License

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