PHPackages                             buzzingpixel/php-scheduler - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. buzzingpixel/php-scheduler

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

buzzingpixel/php-scheduler
==========================

1.1.1(1y ago)02.9k↑14.3%Apache-2.0PHPPHP ^8.2CI passing

Since Apr 10Pushed 1y agoCompare

[ Source](https://github.com/buzzingpixel/php-scheduler)[ Packagist](https://packagist.org/packages/buzzingpixel/php-scheduler)[ RSS](/packages/buzzingpixel-php-scheduler/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (12)Versions (4)Used By (0)

BuzzingPixel PHP Scheduler
==========================

[](#buzzingpixel-php-scheduler)

A fairly simple php scheduling system you can add to nearly any PHP app that utilizes a PSR-11 container.

Drivers
-------

[](#drivers)

At the moment, the only driver supplied with this package is the Redis driver. But if you want to supply your own driver, just implement the `\BuzzingPixel\Scheduler\ScheduleHandler` interface and wire your container to supply that when the interface is requested.

Otherwise, wire `\BuzzingPixel\Scheduler\ScheduleHandler` to supply the `\BuzzingPixel\Scheduler\RedisDriver\RedisScheduleHandler`.

PHP's `\Redis` and the Symfony `\Symfony\Component\Cache\Adapter\RedisAdapter` will need to also be available through the constructor/container.

Usage
-----

[](#usage)

### ScheduleFactory

[](#schedulefactory)

You will need to implement the `\BuzzingPixel\Scheduler\ScheduleFactory` and make it available through your container and configure to send whatever scheduled items you want.

Example:

```
