PHPackages                             illusorium/minion - 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. illusorium/minion

ActiveKohana-module[Framework](/categories/framework)

illusorium/minion
=================

Fork of official kohana module with support of queuing tasks

v3.3.6(10y ago)034BSD-3-ClausePHPPHP &gt;=5.3.3

Since Aug 26Pushed 9y agoCompare

[ Source](https://github.com/illusorium/minion)[ Packagist](https://packagist.org/packages/illusorium/minion)[ Docs](http://kohanaframework.org)[ RSS](/packages/illusorium-minion/feed)WikiDiscussions 3.3/master Synced 4w ago

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

Minion
======

[](#minion)

verStableDevelop3.3.x[![Build Status - 3.3/master](https://camo.githubusercontent.com/351842aeb4c302a2cec68d79cf6055e4cc857472e395a5f0fa7bac03ba6edb39/68747470733a2f2f7472617669732d63692e6f72672f6b6f68616e612f6d696e696f6e2e7376673f6272616e63683d332e332532466d6173746572)](https://travis-ci.org/kohana/minion)[![Build Status - 3.3/develop](https://camo.githubusercontent.com/926fab68350c290b126e027d91e637a2e63f80c4d3583c5e774c1ac8ebd07e99/68747470733a2f2f7472617669732d63692e6f72672f6b6f68616e612f6d696e696f6e2e7376673f6272616e63683d332e33253246646576656c6f70)](https://travis-ci.org/kohana/minion)3.4.x[![Build Status - 3.4/master](https://camo.githubusercontent.com/862db4bcd42816e8cd4f3a9bbfdc6b88610ae99bd266e2fac7683aa5c087f4f6/68747470733a2f2f7472617669732d63692e6f72672f6b6f68616e612f6d696e696f6e2e7376673f6272616e63683d332e342532466d6173746572)](https://travis-ci.org/kohana/minion)[![Build Status - 3.4/develop](https://camo.githubusercontent.com/ddf055436c5c0891dacdb07f6c398a0da4da4c7813f83e91ab8df1b04b72df20/68747470733a2f2f7472617669732d63692e6f72672f6b6f68616e612f6d696e696f6e2e7376673f6272616e63683d332e34253246646576656c6f70)](https://travis-ci.org/kohana/minion)Minion is a framework for running tasks via the CLI.

The system is inspired by ruckusing, which had a nice system for defining tasks but lacked the desired flexibility for kohana integration.

Getting Started
---------------

[](#getting-started)

First off, download and enable the module in your bootstrap

Then copy the bash script `minion` alongside your index.php (most likely the webroot). If you'd rather the executable be in a different location to index.php then simply modify the bash script to point to index.php.

You can then run minion like so:

```
./minion {task}

```

To view a list of minion tasks, run minion without any parameters, or with the `--help` option

```
./minion
./minion --help

```

To view help for a specific minion task run

```
./minion {task} --help

```

For security reasons Minion will only run from the cli. Attempting to access it over http will cause a `Kohana_Exception` to be thrown.

If you're unable to use the binary file for whatever reason then simply replace `./minion {task}` in the above examples with

```
php index.php --uri=minion --task={task}

```

Writing your own tasks
----------------------

[](#writing-your-own-tasks)

All minion tasks must be located in `classes/task/`. They can be in any module, thus allowing you to ship custom minion tasks with your own module / product.

Each task must extend the abstract class `Minion_Task` and implement `Minion_Task::_execute()`.

See `Minion_Task` for more details.

Documentation
-------------

[](#documentation)

Code should be commented well enough not to need documentation, and minion can extract a class' doccomment to use as documentation on the cli.

Testing
-------

[](#testing)

This module is unittested using the [unittest module](http://github.com/kohana/unittest). You can use the `minion` group to only run minion tests.

i.e.

```
phpunit --group minion

```

Feel free to contribute tests(!), they can be found in the `tests/minion` directory. :)

License
-------

[](#license)

This is licensed under the [same license as Kohana](http://kohanaframework.org/license).

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity65

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

Recently: every ~117 days

Total

7

Last Release

3751d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b54194f23f92f5ac94479ce84ee3588bb422f2cf64a7cc358ec57ae529d202e9?d=identicon)[illusorium](/maintainers/illusorium)

---

Top Contributors

[![BRMatt](https://avatars.githubusercontent.com/u/20394?v=4)](https://github.com/BRMatt "BRMatt (98 commits)")[![zeelot](https://avatars.githubusercontent.com/u/40011?v=4)](https://github.com/zeelot "zeelot (47 commits)")[![zombor](https://avatars.githubusercontent.com/u/170538?v=4)](https://github.com/zombor "zombor (16 commits)")[![kiall](https://avatars.githubusercontent.com/u/52713?v=4)](https://github.com/kiall "kiall (16 commits)")[![illusorium](https://avatars.githubusercontent.com/u/24568352?v=4)](https://github.com/illusorium "illusorium (16 commits)")[![acoulton](https://avatars.githubusercontent.com/u/416566?v=4)](https://github.com/acoulton "acoulton (11 commits)")[![enov](https://avatars.githubusercontent.com/u/4045110?v=4)](https://github.com/enov "enov (8 commits)")[![biakaveron](https://avatars.githubusercontent.com/u/95280?v=4)](https://github.com/biakaveron "biakaveron (4 commits)")[![ahutchings](https://avatars.githubusercontent.com/u/35026?v=4)](https://github.com/ahutchings "ahutchings (3 commits)")[![bobeagan](https://avatars.githubusercontent.com/u/100226?v=4)](https://github.com/bobeagan "bobeagan (2 commits)")[![lenton](https://avatars.githubusercontent.com/u/1231868?v=4)](https://github.com/lenton "lenton (2 commits)")[![tmihalik](https://avatars.githubusercontent.com/u/440762?v=4)](https://github.com/tmihalik "tmihalik (2 commits)")[![alexeyco](https://avatars.githubusercontent.com/u/496179?v=4)](https://github.com/alexeyco "alexeyco (2 commits)")[![ljyf5593](https://avatars.githubusercontent.com/u/960459?v=4)](https://github.com/ljyf5593 "ljyf5593 (1 commits)")[![nitso](https://avatars.githubusercontent.com/u/443011?v=4)](https://github.com/nitso "nitso (1 commits)")[![paulchubatyy](https://avatars.githubusercontent.com/u/98631?v=4)](https://github.com/paulchubatyy "paulchubatyy (1 commits)")[![paulschwarz](https://avatars.githubusercontent.com/u/720418?v=4)](https://github.com/paulschwarz "paulschwarz (1 commits)")[![kemo](https://avatars.githubusercontent.com/u/100160?v=4)](https://github.com/kemo "kemo (1 commits)")[![bluehawk](https://avatars.githubusercontent.com/u/139870?v=4)](https://github.com/bluehawk "bluehawk (1 commits)")[![evanpurkhiser](https://avatars.githubusercontent.com/u/1421724?v=4)](https://github.com/evanpurkhiser "evanpurkhiser (1 commits)")

---

Tags

frameworkkohanatask

### Embed Badge

![Health badge](/badges/illusorium-minion/health.svg)

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

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.3k10](/packages/helsingborg-stad-municipio)

PHPackages © 2026

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