kkchaulagain / php-queue
Php rabbit queue
Fund package maintenance!
kkchaulagain
github.com/kkchaulagain/php-queue
Installs: 1 485
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: ^7.4 | ^8.0
- php-amqplib/php-amqplib: ^3.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.17
- phpunit/phpunit: ^9.5
README
You can install the package via composer:
composer require kkchaulagain/php-queue
Usage (Just Like)
class MainQueue extends kkchaulagain\phpQueue\BaseQueue{ }
$data = [ 'test'=>true ]; MainQueue::dispatch($data)->onQueue('mainQueue');
use kkchaulagain\phpQueue\Consumer; Consumer::consume('test','vhost');
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
License
The MIT License (MIT). Please see License File for more information.