PHPackages                             understeam/yii2-command-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. understeam/yii2-command-scheduler

AbandonedArchivedExtension

understeam/yii2-command-scheduler
=================================

Yii2 extenstion for Command Bus commands scheduling

v0.4(9y ago)0131GPLv3PHP

Since May 17Pushed 9y ago3 watchersCompare

[ Source](https://github.com/Understeam/yii2-command-scheduler)[ Packagist](https://packagist.org/packages/understeam/yii2-command-scheduler)[ RSS](/packages/understeam-yii2-command-scheduler/feed)WikiDiscussions master Synced today

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

Yii2 Command Scheduler
======================

[](#yii2-command-scheduler)

This command is alternative for `cron` and any other cron scheduling components. It allows to schedule any task dynamically from code:

```
Yii::$app->scheduler->add(
    'my-unique-command-key',    // Unique task key. If task already exists it will be replaced
    $command,                   // Command. May be literally anything. See Executor section
    '0 0 * * *',                // Cron expression
    false                       // Repeat after success execution? Default - true
);
```

This lightweight operation allows to postpone any heavy tasks into background.

This tool is `cron` based, so, you need to run a scheduler script every minute. Example entry of `crontab` file:

```
* * * * * /usr/bin/php /var/www/my-application/yii scheduler/cron --interactive=false

```

Executor
--------

[](#executor)

> TODO

Command
-------

[](#command)

> TODO

Sorry about docs, they are not ready yet. You can inspect tests and code to see how it works, it's quite simple.

###  Health Score

26

—

LowBetter than 46% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

3593d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/099436b48c94b540d49cdaa3666cded03d69f7305686f98fc1701a710a9b6e4e?d=identicon)[AnatolyRugalev](/maintainers/AnatolyRugalev)

---

Top Contributors

[![AnatolyRugalev](https://avatars.githubusercontent.com/u/1397674?v=4)](https://github.com/AnatolyRugalev "AnatolyRugalev (16 commits)")

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/understeam-yii2-command-scheduler/health.svg)

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

###  Alternatives

[webtoolsnz/yii2-scheduler

A scheduled task runner for Yii2 applications

1879.3k](/packages/webtoolsnz-yii2-scheduler)[yii2mod/yii2-scheduling

Scheduling extension for Yii2 framework

1630.1k1](/packages/yii2mod-yii2-scheduling)

PHPackages © 2026

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