Skip to content

kkchaulagain/php-queue

Repository files navigation

Installation

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.