Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bernardphp/bernard
Bernard is a multi-backend PHP library for creating background jobs for later processing.
https://github.com/bernardphp/bernard
Last synced: 28 days ago
JSON representation
Bernard is a multi-backend PHP library for creating background jobs for later processing.
- Host: GitHub
- URL: https://github.com/bernardphp/bernard
- Owner: bernardphp
- License: mit
- Created: 2013-02-15T18:30:56.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-07-31T10:25:26.000Z (over 1 year ago)
- Last Synced: 2024-10-01T16:43:24.314Z (about 1 month ago)
- Language: PHP
- Homepage: http://bernard.rtfd.org
- Size: 1.6 MB
- Stars: 1,213
- Watchers: 47
- Forks: 129
- Open Issues: 38
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-php - Bernard - A multibackend abstraction library. (Table of Contents / Queue)
- awesome-php-cn - Bernard - multibackend抽象库. (目录 / 队列 Queue)
- awesome-projects - Bernard - A multibackend abstraction library. (PHP / Queue)
- awesome-php - Bernard - A multibackend abstraction library. (Table of Contents / Queue)
README
[![Latest Version](https://img.shields.io/github/release/bernardphp/bernard.svg?style=flat-square)](https://github.com/bernardphp/bernard/releases)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.4-8892BF.svg?style=flat-square)](https://php.net/)
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/bernardphp/bernard/CI?style=flat-square)](https://github.com/bernardphp/bernard/actions?query=workflow%3ACI)
[![Total Downloads](https://img.shields.io/packagist/dt/bernard/bernard.svg?style=flat-square)](https://packagist.org/packages/bernard/bernard)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
```bash
$ composer require bernard/bernard
```## Documentation
Please see the [official documentation](https://bernard.readthedocs.org).
## Testing
We try to follow BDD and TDD, as such we use both [phpspec](http://www.phpspec.net) and [phpunit](https://phpunit.de) to test this library.
```bash
$ composer test
```You can run the functional tests by executing:
```bash
$ composer test-functional
```## License
The MIT License (MIT). Please see [License File](LICENSE) for more information.