bernard / bernard
Message queue abstraction layer
Installs: 1 649 435
Dependents: 36
Suggesters: 4
Security: 0
Stars: 1 214
Watchers: 47
Forks: 129
Open Issues: 38
Requires
- php: ^5.6 || ^7.0
- beberlei/assert: ~2.1
- bernard/normalt: ~1.0
- symfony/event-dispatcher: ^2.7|^3.0|^4.0
Requires (Dev)
- aws/aws-sdk-php: ~2.4|~3.0
- doctrine/dbal: ~2.3
- iron-io/iron_mq: ~4.0
- league/container: ~2.3
- pda/pheanstalk: ~3.0
- php-amqplib/php-amqplib: ~2.5
- phpspec/phpspec: ^2.4
- phpunit/phpunit: ^5.5|^6.0
- pimple/pimple: ~1.0
- predis/predis: ~0.8
- psr/log: ~1.0
- queue-interop/amqp-interop: ^0.6
- queue-interop/queue-interop: ^0.6
- symfony/console: ^2.7|^3.0|^4.0
- symfony/dependency-injection: ^2.7|^3.0|^4.0
Suggests
- aws/aws-sdk-php: Allow sending messages to AWS services like Simple Queue Service
- doctrine/dbal: Allow sending messages to simulated message queue in a database via doctrine dbal
- iron-io/iron_mq: Allow sending messages to IronMQ
- mongodb/mongodb: Allow sending messages to a MongoDB server via PHP Driver
- pda/pheanstalk: Allow sending messages to Beanstalk using pheanstalk
- php-amqplib/php-amqplib: Allow sending messages to an AMQP server using php-amqplib
- predis/predis: Allow sending messages to Redis using predis
- queue-interop/amqp-interop: Allow sending messages using amqp interop compatible transports
- queue-interop/queue-interop: Allow sending messages using queue interop compatible transports
- dev-master / 2.0.x-dev
- 1.x-dev
- 1.0.0-alpha9
- v1.0.0-alpha8
- v1.0.0-alpha7
- v1.0.0-alpha6
- v1.0.0-alpha5
- 1.0.0-alpha4
- 1.0.0-alpha3
- 1.0.0-alpha2
- 1.0.0-alpha1
- 0.x-dev
- 0.13.0
- v0.12.4
- 0.12.3
- 0.12.2
- 0.12.1
- 0.12.0
- 0.11.0
- 0.10.1
- 0.10.0
- 0.9.2
- 0.9.1
- 0.9.0
- 0.8.0
- 0.7.1
- 0.7.0
- 0.6.1
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.1
- 0.2.0
- 0.1.1
- 0.1.0
- dev-doctrine-safe-queue-creation
- dev-phpspec
This package is auto-updated.
Last update: 2024-11-19 08:36:07 UTC
README
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.