PHPackages                             eurojet/yii2-job - 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. eurojet/yii2-job

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

eurojet/yii2-job
================

Component to yii2 for using cron job.

v1.0.14(8y ago)01.8kMITPHPPHP &gt;=5.4.0

Since May 16Pushed 8y agoCompare

[ Source](https://github.com/wincdev/yii2-job)[ Packagist](https://packagist.org/packages/eurojet/yii2-job)[ RSS](/packages/eurojet-yii2-job/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (10)Dependencies (2)Versions (15)Used By (0)

yii-job
=======

[](#yii-job)

A simple module to have cron-like jobs in your database. In addition to yii's commands, yii-job can be used to create on-the-fly asynchronous jobs. Different kinds of jobs are supported:

1. Jobs with crontab that are triggered at defined times.
2. Ad-Hoc jobs that are executed at a defined time (or as soon as possible).

To actually process the jobs you can use the JobCommand, which itself can be triggered by a sytem cron job. A common scenario is system a cron job that is executed once per minute to trigger JobCommand.

Database Installing
-------------------

[](#database-installing)

Run migration

`yii migrate --migrationPath=@eurojet/yii2-job/migrations`

Yii Installing
--------------

[](#yii-installing)

Mapping command `job` from this package to your configuration in main.php.

Run
---

[](#run)

If you want to trigger the job processing from the command line you still need a cron job that executes the JobCommand. It should be triggers like this:

```
yiic job

```

This is the index command which will sync your jobs in the config with your database and run all jobs that are due.

###  Health Score

30

—

LowBetter than 61% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity66

Established project with proven stability

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 ~7 days

Total

14

Last Release

3281d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/16ce0252d62dd932658ae76ee0f243c5f708351a2f4322ee07c4b370c626167c?d=identicon)[wincdev](/maintainers/wincdev)

---

Tags

jobcronyii2crontab

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/eurojet-yii2-job/health.svg)

```
[![Health](https://phpackages.com/badges/eurojet-yii2-job/health.svg)](https://phpackages.com/packages/eurojet-yii2-job)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.7M3.4k](/packages/craftcms-cms)[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13926.0k65](/packages/skeeks-cms)[fedemotta/yii2-cronjob

Yii2 extension to help in the creation of automated console scripts

2234.5k](/packages/fedemotta-yii2-cronjob)[orisai/scheduler

Cron job scheduler - with locks, parallelism and more

4047.1k5](/packages/orisai-scheduler)

PHPackages © 2026

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