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.3.0(4mo ago)4047.1k↓22.7%24MPL-2.0PHPPHP 7.4 - 8.4CI failing

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 2w ago

READMEChangelogDependencies (38)Versions (11)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 97% of packages

Maintenance78

Regular maintenance activity

Popularity41

Moderate usage in the ecosystem

Community17

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 99.4% 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 ~112 days

Recently: every ~120 days

Total

11

Last Release

116d 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 (172 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

[laravel/framework

The Laravel Framework.

34.9k556.2M21.5k](/packages/laravel-framework)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k39.6k](/packages/matomo-matomo)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.8M672](/packages/shopware-core)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[composer/composer

Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.

29.5k199.6M3.4k](/packages/composer-composer)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M236](/packages/sulu-sulu)

PHPackages © 2026

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