PHPackages                             orisai/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. [Queues &amp; Workers](/categories/queues)
4. /
5. orisai/scheduler

ActiveLibrary[Queues &amp; Workers](/categories/queues)

orisai/scheduler
================

Cron job scheduler - with locks, parallelism and more

2.2.2(3mo ago)4037.1k—0%24MPL-2.0PHPPHP 7.4 - 8.4CI passing

Since Mar 21Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/orisai/scheduler)[ Packagist](https://packagist.org/packages/orisai/scheduler)[ Docs](https://github.com/orisai/scheduler)[ RSS](/packages/orisai-scheduler/feed)WikiDiscussions v2.x Synced 1mo ago

READMEChangelogDependencies (19)Versions (10)Used By (4)

 [![Orisai](https://github.com/orisai/.github/raw/main/images/repo_title.png?raw=true)](https://github.com/orisai/.github/blob/main/images/repo_title.png?raw=true)
 Scheduler
================================================================================================================================================================================

[](#scheduler)

 Cron job scheduler - with locks, parallelism and more

 📄 Check out our [documentation](docs/README.md).

 💸 If you like Orisai, please [make a donation](https://orisai.dev/sponsor). Thank you!

 [![](https://github.com/orisai/scheduler/actions/workflows/ci.yaml/badge.svg?branch=v2.x)](https://github.com/orisai/scheduler/actions?query=workflow:CI+branch:v2.x) [![](https://camo.githubusercontent.com/a95ef7dcfd5ffd35bcd712dc40be87762a6dd14e08d916991223adc51027f144/68747470733a2f2f62616467656e2e6e65742f636f766572616c6c732f632f6769746875622f6f72697361692f7363686564756c65722f76322e783f63616368653d333030)](https://coveralls.io/github/orisai/scheduler?branch=v2.x) [![](https://camo.githubusercontent.com/631966003cf482a218a03d378b7152d7e9ec22dd3ddf553b4a3463c46b89cd91/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d68747470733a2f2f62616467652d6170692e737472796b65722d6d757461746f722e696f2f6769746875622e636f6d2f6f72697361692f7363686564756c65722f76322e78)](https://dashboard.stryker-mutator.io/reports/github.com/orisai/scheduler/v2.x) [![](https://camo.githubusercontent.com/7ebf68d6ba3774d670727e092ed77a13a09cfa6e3dab1c407cb43d218d6c3321/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f64742f6f72697361692f7363686564756c65723f63616368653d33363030)](https://packagist.org/packages/orisai/scheduler) [![](https://camo.githubusercontent.com/9b8366c4ae290fc71c493b1b0454259521c87193c175dee535b017252f66cbd2/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f762f6f72697361692f7363686564756c65723f63616368653d33363030)](https://packagist.org/packages/orisai/scheduler) [![](https://camo.githubusercontent.com/40b2374865c7727b1568a7b77cc1a8068979ac265d85d659fe73b2d337b458e6/68747470733a2f2f62616467656e2e6e65742f62616467652f6c6963656e73652f4d504c2d322e302f626c75653f63616368653d33363030)](https://choosealicense.com/licenses/mpl-2.0/)

Create script with scheduler setup (e.g. `bin/scheduler.php`)

```
use Cron\CronExpression;
use Orisai\Scheduler\SimpleScheduler;

$scheduler = new SimpleScheduler();

// Add jobs
$scheduler->addJob(
	new CallbackJob(fn() => exampleTask()),
	new CronExpression('* * * * *'),
);

$scheduler->run();
```

Configure crontab to run your script each minute

```
* * * * * cd path/to/project && php bin/scheduler.php >> /dev/null 2>&1

```

Looking for more? Documentation is [here](docs/README.md).

###  Health Score

55

—

FairBetter than 98% of packages

Maintenance82

Actively maintained with recent releases

Popularity40

Moderate usage in the ecosystem

Community16

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 99.3% 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 ~117 days

Recently: every ~147 days

Total

10

Last Release

96d ago

Major Versions

v1.x-dev → 2.0.02024-01-26

PHP version history (3 changes)1.0.0PHP &gt;=7.4.0 &lt;8.3.0

2.1.1PHP 7.4 - 8.3

2.1.3PHP 7.4 - 8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20974277?v=4)[Marek Bartoš](/maintainers/mabar)[@mabar](https://github.com/mabar)

---

Top Contributors

[![mabar](https://avatars.githubusercontent.com/u/20974277?v=4)](https://github.com/mabar "mabar (149 commits)")[![staabm](https://avatars.githubusercontent.com/u/120441?v=4)](https://github.com/staabm "staabm (1 commits)")

---

Tags

asyncasynchronouscroncronjobcrontabfrequencyintervaljob-schedulerorisaiparallelphpqueuerecurringrunnerscheduleschedulerschedulingtaskasyncasynchronousschedulerqueuecronscheduleparallelrecurringtaskintervalschedulingcrontabfrequencyrunnerJob Schedulercronjob

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[crunzphp/crunz

Schedule your tasks right from the code.

2292.0M6](/packages/crunzphp-crunz)[guikingone/scheduler-bundle

A Symfony bundle that allows to schedule and create repetitive tasks

114217.4k](/packages/guikingone-scheduler-bundle)[jolicode/castor

A lightweight and modern task runner. Automate everything. In PHP.

53541.0k3](/packages/jolicode-castor)[aboutcoders/job-bundle

A symfony bundle for asynchronous job processing.

2618.0k1](/packages/aboutcoders-job-bundle)[shapecode/cron-bundle

This bundle provides scheduled execution of Symfony commands

59493.0k2](/packages/shapecode-cron-bundle)[markup/job-queue-bundle

The Markup Job Queue bundle integrates with oldsound/rabbiitmq-bundle to provide automatic scheduling of recurring console command jobs

1759.6k](/packages/markup-job-queue-bundle)

PHPackages © 2026

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