wpkit / bernard
Message queue abstraction layer
1.0.1
2023-07-31 21:17 UTC
Requires
- php: >=8.1
- beberlei/assert: ^2.1 || ^3.0
- bernard/normalt: ^1.0
- symfony/event-dispatcher: ^5.0
Requires (Dev)
- doctrine/dbal: ^2.5
- doctrine/instantiator: ^1.0.5
- friends-of-phpspec/phpspec-code-coverage: ^6.0
- phpspec/phpspec: ^7.0
- phpunit/phpunit: ^9.5
- psr/container: ^1.0
- psr/log: ^1.0
- symfony/console: ^3.0 || ^4.0
Suggests
- doctrine/dbal: Allow sending messages to simulated message queue in a database via doctrine dbal
- mongodb/mongodb: Allow sending messages to a MongoDB server via PHP Driver
- dev-master / 2.0.x-dev
- 1.x-dev
- 1.0.1
- 1.0.0.x-dev
- 1.0.0
- 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 not auto-updated.
Last update: 2024-12-20 03:48: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.