PHPackages                             enterdev/metodo - 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. enterdev/metodo

ActiveYii2-extension

enterdev/metodo
===============

Metodo

1.0.4(2y ago)1377MITPHP

Since Jan 9Pushed 11mo ago2 watchersCompare

[ Source](https://github.com/enterdev/metodo)[ Packagist](https://packagist.org/packages/enterdev/metodo)[ RSS](/packages/enterdev-metodo/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (4)Versions (9)Used By (0)

Metodo scheduled jobs extension for Yii 2
=========================================

[](#metodo-scheduled-jobs-extension-for-yii-2)

This extension provides scheduled task capability [Yii framework 2.0](http://www.yiiframework.com).

The extension allows creating repeatable tasks or one-time tasks in the future.

Metodo is released under the MIT License. See the bundled [LICENSE.md](LICENSE.md) file.

Installation
============

[](#installation)

1. composer require enterdev/metodo
2. composer install
3. yii migrate --migrationPath=@vendor/enterdev/metodo/src/migrations

Usage
=====

[](#usage)

Metodo consists of two parts: crons and tasks. Cron is a rule to create tasks, they are used to schedule tasks. Tasks, however, are specific instructions, jobs to be performed. Tasks may or may not have a cron.

Metodo offers a daemon that runs tasks, but you can also run them manually if you know you're doing.

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

[](#configuration)

Add metodo to your config modules

```
    'modules' => [
        'metodo' => [
            'class' => 'enterdev\\metodo\\Module'
        ],
    ]
```

Running the daemon
------------------

[](#running-the-daemon)

run on supervisor or similar type of software:

```
yii metodo/scheduler/daemon
```

Creating a cron
---------------

[](#creating-a-cron)

The simplest cron that creates a task that will run every day:

```
$dailyJob1      = new MetodoCron();
$dailyJob1->tag = 'System';

$dailyJob1->hour   = '0';
$dailyJob1->minute = '0';
$dailyJob1->second = '0';

$dailyJob1->exec_class = 'MockJob';
$dailyJob1->method     = 'job1';
$dailyJob1->save();
```

see MetodoCronTest.php for more examples

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

5

Last Release

1090d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/576a2d872b03a43ca5874c96bd7fffe4e13d899926616005f0289fa32402967d?d=identicon)[enter-is](/maintainers/enter-is)

![](https://www.gravatar.com/avatar/3d70dc50a672dee7bf629a7ae4ac36118ba3fdb5e14d1f5e5ecccbd41f40482c?d=identicon)[enter-ev](/maintainers/enter-ev)

---

Top Contributors

[![enter-is](https://avatars.githubusercontent.com/u/11833965?v=4)](https://github.com/enter-is "enter-is (6 commits)")[![enter-ev](https://avatars.githubusercontent.com/u/12541277?v=4)](https://github.com/enter-ev "enter-ev (5 commits)")[![enter-vz](https://avatars.githubusercontent.com/u/82493020?v=4)](https://github.com/enter-vz "enter-vz (5 commits)")[![retynan](https://avatars.githubusercontent.com/u/44664728?v=4)](https://github.com/retynan "retynan (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/enterdev-metodo/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.0k](/packages/craftcms-cms)

PHPackages © 2026

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