PHPackages                             stagem/zfc-cron - 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. stagem/zfc-cron

ActiveZf-module[Utility &amp; Helpers](/categories/utility)

stagem/zfc-cron
===============

ZF cron module based on https://github.com/yalesov/zf2-cron

46PHP

Since Feb 15Pushed 7y ago2 watchersCompare

[ Source](https://github.com/stagemteam/zfc-cron)[ Packagist](https://packagist.org/packages/stagem/zfc-cron)[ RSS](/packages/stagem-zfc-cron/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Zfc-Cron
========

[](#zfc-cron)

Config based wrapper for [Yalesov\\Cron](https://github.com/yalesov/zf2-cron) module, which allow use config for register cron jobs. Simply speaking *Zend Framework way* for module implementation.

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

[](#installation)

```
composer require stagem/zfc-cron
```

Then add `Yalesov\Cron` and `Stagem\ZfcCron` to the modules key in (app root)/config/modules.config.\* in that order.

Usage
-----

[](#usage)

```
//config/module.config.php

return [
    'cron' => [
        'jobs' => [
            [
                'alias' => 'unique-cron-job-code',
                'frequency' => '*/1 * * * *',
                'callback' => 'Stagem\Amazon\Service\ParserService::parse',
                'properties' => [
                    'task' => 'foo',
                ],
            ],
        ],
    ],
];
```

### Options

[](#options)

#### **`alias`**

[](#alias)

Unique stringable code of cron Job. By this code you can identify cron Job in log or somewhere else.

#### **`frequency`**

[](#frequency)

Cron schedule time. [Explanation](http://www.adminschoice.com/crontab-quick-reference)

#### **`callback`**

[](#callback)

Any valid PHP callback. If callback passed as namespace notation and a method is not static Cron will try to get the object through ServiceManager.

> Notice. Static method usage is not preferable. Use ServiceManager for maximum flexibility.

#### **`properties`**

[](#properties)

Additional properties which will be passed to `callback`

Other option you can read [here](https://github.com/yalesov/zf2-cron).

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 66.7% 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/7dbdbd3abed25e11e97a69bc611daa3fe33ad5d1805f2fb32d491c888c4dfb51?d=identicon)[Serhii Popov](/maintainers/Serhii%20Popov)

---

Top Contributors

[![stagemteam](https://avatars.githubusercontent.com/u/37902825?v=4)](https://github.com/stagemteam "stagemteam (6 commits)")[![popovserhii](https://avatars.githubusercontent.com/u/1991183?v=4)](https://github.com/popovserhii "popovserhii (3 commits)")

### Embed Badge

![Health badge](/badges/stagem-zfc-cron/health.svg)

```
[![Health](https://phpackages.com/badges/stagem-zfc-cron/health.svg)](https://phpackages.com/packages/stagem-zfc-cron)
```

###  Alternatives

[fof/reactions

Reactions for Flarum

2268.0k6](/packages/fof-reactions)[spatie/mjml-sidecar

Compile MJML to HTML using Sidecar

1342.6k](/packages/spatie-mjml-sidecar)

PHPackages © 2026

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