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

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

phpsoftbox/scheduler
====================

Scheduler component for the PhpSoftBox framework

056↑33.3%PHP

Since Mar 23Pushed 1mo agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

PhpSoftBox Scheduler
====================

[](#phpsoftbox-scheduler)

About
-----

[](#about)

`phpsoftbox/scheduler` — планировщик задач с cron-выражениями и удобным API для расписаний. Позволяет регистрировать задания и запускать их только в нужное время.

Ключевые свойства:

- `Scheduler` для регистрации задач и запуска по расписанию
- `ScheduledTask` для настройки расписаний
- `ScheduledGroup` для групповых расписаний
- `CronExpression` для проверки времени
- поддержка DI для invokable-обработчиков
- блокировки задач через `CacheInterface`
- запуск CLI-команд через `command()`
- опциональная интеграция с `Queue`

Quick Start
-----------

[](#quick-start)

```
use DateTimeImmutable;
use PhpSoftBox\Scheduler\Scheduler;

$scheduler = new Scheduler();

$scheduler->run(function (DateTimeImmutable $time): void {
    // задача каждые 5 минут
})->every(5)->minutes();

$scheduler->dispatch(new DateTimeImmutable('now'));
```

Оглавление
----------

[](#оглавление)

- [Документация](docs/index.md)
- [About](docs/01-about.md)
- [Quick Start](docs/02-quick-start.md)
- [Cron выражения](docs/03-cron.md)
- [API](docs/04-api.md)
- [CLI](docs/05-cli.md)
- [DI и конфигурация](docs/06-di.md)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance59

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0279d150240c97d210034878b0467462246dc14d29b5618157ff6a8be49a50e3?d=identicon)[inspector-who](/maintainers/inspector-who)

---

Top Contributors

[![inspector-who](https://avatars.githubusercontent.com/u/6973963?v=4)](https://github.com/inspector-who "inspector-who (1 commits)")

### Embed Badge

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

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

###  Alternatives

[macfja/phar-builder

12611.8k11](/packages/macfja-phar-builder)

PHPackages © 2026

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