qlimix / messagebus-scheduler-middleware
Schedule messages via the messagebus with this middleware
1.0.0
2019-06-23 10:48 UTC
Requires
- php: >=7.2
- qlimix/message-scheduler: ^1.0
- qlimix/messagebus: ^1.0
- qlimix/serializable: ^1.0
Requires (Dev)
- qlimix/code-standard: ^1.0
This package is auto-updated.
Last update: 2024-10-23 22:33:12 UTC
README
Schedule messages via the messagebus with this middleware.
Install
Using Composer:
$ composer require qlimix/messagebus-scheduler-middleware
usage
<?php use Qlimix\MessageBus\MessageBus\Middleware\SchedulerMiddleware; $scheduler = new FooBarScheduler(); $schedulerMiddleware = new SchedulerMiddleware($scheduler, new DateInterval('P1D'));
Testing
To run all unit tests locally with PHPUnit:
$ vendor/bin/phpunit
Quality
To ensure code quality run grumphp which will run all tools:
$ vendor/bin/grumphp run
Contributing
Please see CONTRIBUTING for details.