bernard/bernard

Message queue abstraction layer

1.0.0-alpha9 2018-02-13 07:52 UTC

README

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.