PHPackages                             abc/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. abc/scheduler

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

abc/scheduler
=============

Library for to manage schedules for repeated execution of tasks

0.2.2(5y ago)23.9k1[1 issues](https://github.com/aboutcoders/php-scheduler/issues)1MITPHPPHP ^7.2CI failing

Since Jan 15Pushed 4y ago3 watchersCompare

[ Source](https://github.com/aboutcoders/php-scheduler)[ Packagist](https://packagist.org/packages/abc/scheduler)[ RSS](/packages/abc-scheduler/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (5)Versions (6)Used By (1)

php-scheduler
=============

[](#php-scheduler)

A PHP library to process schedules base on CRON expressions.

Features:

- Define schedules based on CRON expressions
- Symfony Console Command to run scheduler
- Simple integration by implementing two interfaces

[![Build Status](https://camo.githubusercontent.com/21ed618f29738db994fab94a12092e6d1c215a89122761a05736557bc32de1a3/68747470733a2f2f7472617669732d63692e6f72672f61626f7574636f646572732f7068702d7363686564756c65722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/aboutcoders/php-scheduler)

**Note: This project is still experimental!**

Installation
------------

[](#installation)

```
composer require abc/scheduler
```

Getting Started
---------------

[](#getting-started)

1. Define a schedule provider by implementing `ProviderInterfacve`.

    ```
    namespace Abc\Scheduler;

    interface ProviderInterface
    {
        /**
         * @return string The provider's name, used to bind a provider to processors
         */
        public function getName(): string;

        /**
         * @param int|null $limit
         * @param int|null $offset
         * @return ScheduleInterface[]
         */
        public function provideSchedules(int $limit = null, int $offset = null): array;

        public function save(ScheduleInterface $schedule): void;
    }
    ```
2. Define a schedule processor by implementing `ProcessorInterface`.

    ```
    namespace Abc\Scheduler;

    /**
     * Process a schedule that is due.
     */
    interface ProcessorInterface
    {
        public function process(ScheduleInterface $schedule);
    }
    ```
3. Bind Processor to Provider and initialize the ScheduleCommand

    ```
    use Abc\Scheduler\Scheduler;
    use Abc\Scheduler\Symfony\ScheduleCommand;

    $myProvider = new MyProvider();
    $myProcessor = new MyProcessor();

    $scheduler = new Scheduler();
    $scheduler->bind($myProvider, $myProcessor);

    $command = new ScheduleCommand($scheduler);
    ```
4. Run the command

    ```
    bin/console abc:schedule
    ```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](./LICENSE) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~80 days

Total

5

Last Release

1990d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11329553?v=4)[AboutCoders](/maintainers/aboutcoders)[@aboutcoders](https://github.com/aboutcoders)

---

Top Contributors

[![hasc](https://avatars.githubusercontent.com/u/3307391?v=4)](https://github.com/hasc "hasc (1 commits)")[![sebastianneubert](https://avatars.githubusercontent.com/u/2872569?v=4)](https://github.com/sebastianneubert "sebastianneubert (1 commits)")

---

Tags

schedulercronschedule

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/abc-scheduler/health.svg)

```
[![Health](https://phpackages.com/badges/abc-scheduler/health.svg)](https://phpackages.com/packages/abc-scheduler)
```

###  Alternatives

[dragonmantank/cron-expression

CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due

4.7k474.1M487](/packages/dragonmantank-cron-expression)[symfony/scheduler

Provides scheduling through Symfony Messenger

8810.8M52](/packages/symfony-scheduler)[guikingone/scheduler-bundle

A Symfony bundle that allows to schedule and create repetitive tasks

114217.4k](/packages/guikingone-scheduler-bundle)[crunzphp/crunz

Schedule your tasks right from the code.

2292.0M6](/packages/crunzphp-crunz)[rewieer/taskschedulerbundle

Task Scheduler with CRON for Symfony

63242.1k](/packages/rewieer-taskschedulerbundle)[orisai/scheduler

Cron job scheduler - with locks, parallelism and more

4037.1k4](/packages/orisai-scheduler)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
