PHPackages                             nyx-solutions/yii2-nyx-cron-jobs - 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. [Framework](/categories/framework)
4. /
5. nyx-solutions/yii2-nyx-cron-jobs

ActiveLibrary[Framework](/categories/framework)

nyx-solutions/yii2-nyx-cron-jobs
================================

Yii2 nyx Cron Jobs

5.0.0(3y ago)013BSD-3-ClausePHPPHP &gt;=8.1.0 &lt;8.2

Since Feb 17Pushed 3y ago1 watchersCompare

[ Source](https://github.com/nyx-solutions/yii2-nyx-cron-jobs)[ Packagist](https://packagist.org/packages/nyx-solutions/yii2-nyx-cron-jobs)[ RSS](/packages/nyx-solutions-yii2-nyx-cron-jobs/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (5)Dependencies (1)Versions (10)Used By (0)

Yii PHP Framework Version 2 / NYX Cron Jobs
===========================================

[](#yii-php-framework-version-2--nyx-cron-jobs)

Yii2 NYX Cron Jobs is a Console Crontroller for Yii2 and is responsible to execute jobs in the Crontab.

The current extension is based on [DenisOgr/yii2-cronjobs](https://github.com/DenisOgr/yii2-cronjobs).

[![Latest Stable Version](https://camo.githubusercontent.com/6af6ba86a3cd1e7741e7bcf29302234a16eb1f367891deaeca299722adfe86bb/68747470733a2f2f706f7365722e707567782e6f72672f6e79782d736f6c7574696f6e732f796969322d6e79782d63726f6e2d6a6f62732f762f737461626c65)](https://packagist.org/packages/nyx-solutions/yii2-nyx-cron-jobs)[![Total Downloads](https://camo.githubusercontent.com/f004bb65d3343359d8d56ed4bc6ec7a281e6f7574f87045401dcffee453a58f8/68747470733a2f2f706f7365722e707567782e6f72672f6e79782d736f6c7574696f6e732f796969322d6e79782d63726f6e2d6a6f62732f646f776e6c6f616473)](https://packagist.org/packages/nyx-solutions/yii2-nyx-cron-jobs)[![Latest Unstable Version](https://camo.githubusercontent.com/717a481cc83a7808ca2da3558640a15a55e944b1c91300cca3c1a3252b2e6b0a/68747470733a2f2f706f7365722e707567782e6f72672f6e79782d736f6c7574696f6e732f796969322d6e79782d63726f6e2d6a6f62732f762f756e737461626c65)](https://packagist.org/packages/nyx-solutions/yii2-nyx-cron-jobs)[![License](https://camo.githubusercontent.com/0eabf534abed90bdb139db95737834b4369150ac2af4d310a6fa2d67d2c999d6/68747470733a2f2f706f7365722e707567782e6f72672f6e79782d736f6c7574696f6e732f796969322d6e79782d63726f6e2d6a6f62732f6c6963656e7365)](https://packagist.org/packages/nyx-solutions/yii2-nyx-cron-jobs)[![Monthly Downloads](https://camo.githubusercontent.com/7f88602973a6cfad0ae911b05963aa331f534d4053ecd87f386469c04ab12cec/68747470733a2f2f706f7365722e707567782e6f72672f6e79782d736f6c7574696f6e732f796969322d6e79782d63726f6e2d6a6f62732f642f6d6f6e74686c79)](https://packagist.org/packages/nyx-solutions/yii2-nyx-cron-jobs)[![Daily Downloads](https://camo.githubusercontent.com/6a6609a621034b05348010caf1859a2752b386b727c87a140640eaf3582a8ade/68747470733a2f2f706f7365722e707567782e6f72672f6e79782d736f6c7574696f6e732f796969322d6e79782d63726f6e2d6a6f62732f642f6461696c79)](https://packagist.org/packages/nyx-solutions/yii2-nyx-cron-jobs)[![composer.lock](https://camo.githubusercontent.com/79d20fec9b20c8e99945a66f48f6a5e6a54e02598c26ad86276ad7f1eb2157c0/68747470733a2f2f706f7365722e707567782e6f72672f6e79782d736f6c7574696f6e732f796969322d6e79782d63726f6e2d6a6f62732f636f6d706f7365726c6f636b)](https://packagist.org/packages/nyx-solutions/yii2-nyx-cron-jobs)

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

- Either run

```
php composer.phar require --prefer-dist "nyx-solutions/yii2-nyx-cron-jobs" "*"
```

or add

```
"nyx-solutions/yii2-nyx-cron-jobs": "*"
```

to the `require` section of your application's `composer.json` file.

Configuration
-------------

[](#configuration)

**Step 1:** Set aliase @runnerScript in console config. This absolutely path to runner script.

```
Yii::setAlias('@runnerScript', dirname(dirname(dirname(__FILE__))) .'/yii');

```

**Step 2:** Add to console config:

```
'controllerMap' => [
       'cron' => [
           'class' => 'nyx\console\controllers\CronController'
       ],
   ],

```

**Step 3:** Add task to system scheduler (cron on unix, task scheduler on windows) to run every minute:

```
* * * * * /path/to/yii/yii cron
```

Usage
-----

[](#usage)

Add in params array with cron sets:

```
'cronJobs' =>[
    'jobs/first'  => ['cron' => '* * * * *'],
    'jobs/second' => ['cron' => '10 * * * *']
]

```

License
-------

[](#license)

**yii2-nyx-cron-jobs** is released under the BSD 3-Clause License. See the bundled `LICENSE.md` for details.

[![Yii2](https://camo.githubusercontent.com/d6b0929173e28cc627430d2519ca1853466a70f37395877eaf4820cb3e1e1909/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f77657265645f62792d5969695f4672616d65776f726b2d677265656e2e7376673f7374796c653d666c6174)](https://camo.githubusercontent.com/d6b0929173e28cc627430d2519ca1853466a70f37395877eaf4820cb3e1e1909/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f77657265645f62792d5969695f4672616d65776f726b2d677265656e2e7376673f7374796c653d666c6174)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 76.9% 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 ~287 days

Recently: every ~458 days

Total

9

Last Release

1440d ago

Major Versions

1.0.6 → 2.0.02020-05-03

2.0.0 → 4.0.02022-06-01

4.0.0 → 5.0.02022-06-03

PHP version history (3 changes)1.0.0PHP &gt;=5.4.0

2.0.0PHP &gt;=7.4.0

5.0.0PHP &gt;=8.1.0 &lt;8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/f7c641a4199171cc30bf08b9bf67636a8463acf86813fa259aab131b5bd5a161?d=identicon)[nyx-solutions](/maintainers/nyx-solutions)

---

Top Contributors

[![jsas4coding](https://avatars.githubusercontent.com/u/4156892?v=4)](https://github.com/jsas4coding "jsas4coding (10 commits)")[![brenoherculano](https://avatars.githubusercontent.com/u/90738807?v=4)](https://github.com/brenoherculano "brenoherculano (2 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

phpconsoleframeworkcronyii2extensionjobscron jobs

### Embed Badge

![Health badge](/badges/nyx-solutions-yii2-nyx-cron-jobs/health.svg)

```
[![Health](https://phpackages.com/badges/nyx-solutions-yii2-nyx-cron-jobs/health.svg)](https://phpackages.com/packages/nyx-solutions-yii2-nyx-cron-jobs)
```

PHPackages © 2026

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