• Stars
    star
    1,214
  • Rank 37,051 (Top 0.8 %)
  • Language
    PHP
  • License
    MIT License
  • Created about 11 years ago
  • Updated 9 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

Bernard

Latest Version Minimum PHP Version GitHub Workflow Status 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.