https://github.com/gianarb/lean-queue
Lean queue system in PHP.. Send, receive message and it supports different adapters.. only one thing
https://github.com/gianarb/lean-queue
Last synced: 4 months ago
JSON representation
Lean queue system in PHP.. Send, receive message and it supports different adapters.. only one thing
- Host: GitHub
- URL: https://github.com/gianarb/lean-queue
- Owner: gianarb
- License: other
- Created: 2015-01-21T00:57:16.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-11-14T11:47:29.000Z (over 9 years ago)
- Last Synced: 2025-05-15T11:24:15.718Z (about 1 year ago)
- Language: PHP
- Homepage: http://lean-queue.readthedocs.org/en/stable/
- Size: 41 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LeanQueue
Master:
[](https://travis-ci.org/gianarb/lean-queue)
Develop:
[](https://travis-ci.org/gianarb/lean-queue)
[](https://www.versioneye.com/user/projects/54f36da64f3108d1fa0008da) [](https://codeclimate.com/github/gianarb/lean-queue)
lean queue system, receive and send messages for different queue adapters.
For now supports `ArrayAdapter` and `AwsSqs`
## Send messages in queue
```php
setAdapter(new \GianArb\LeanQueue\Adapter\AwsAdapter($client));
$queue->send("{'example': '2121'}");
```
## Receive and Delete messages
```php
setAdapter(new \GianArb\LeanQueue\Adapter\AwsAdapter($client));
list($receipt, $message) = $queue->receive();
$queue->delete($receipt);
```
## Install
```bash
php composer.phar require "gianarb\lean-queue"
```
## Contribute
Try it and open issues or pull requests! ;)
```shell
vendor/bin/phpspec run
```