PHPackages                             manufacturing-industry/perseus - 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. [CLI &amp; Console](/categories/cli)
4. /
5. manufacturing-industry/perseus

ActiveLibrary[CLI &amp; Console](/categories/cli)

manufacturing-industry/perseus
==============================

Perseus is a command line service runner based on Symfony Console

v0.1.2(9y ago)0282MITPHPPHP ^5.3.3 || ^7.0

Since Jul 3Pushed 4y ago1 watchersCompare

[ Source](https://github.com/manufacturing-industry/perseus)[ Packagist](https://packagist.org/packages/manufacturing-industry/perseus)[ RSS](/packages/manufacturing-industry-perseus/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

\#Perseus Perseus is a command line service runner boilerplate based on Symfony Console

\##Installation Perseus is a PSR-4 compatible package. You can install it via composer as a package in your application.

\####Composer

```
composer require manufacturing-industry/perseus

```

\##First Time Use Create a new instance of Perseus in a empty php file and then run the following commands:

\####Run the command line utility

```
php

```

This will output the information about the command line utility.

\####Build a Command Commands are built using the Symfony [structure for console commands](http://symfony.com/doc/current/components/console/introduction.html). These commands can be stored anywhere but must be in the Perseus Command namespace.

\#####Required Namespace

```
Perseus\Console\Command
Example: Perseus\Console\Command\TestConsole
Example: The above namespace would translate to a class named Testconsole.

```

\####Add Command to the Console You can easily add commands to the console by supplying an array of class names of your commands as the first argument to the class when constructing it.

\#####Example PHP:

```
//commands is an array of class names that are symfony console commands in the perseus namespace
$commands = array('TestCommand', 'TestCommand2', 'AnotherCommand');
new Perseus($commands);
```

You can now run the file you have instantiated Persus within and run your console commands. Let's suppose that file is console.php

\#####Example Perseus Commands

```
php console.php testcommand1:task1
php console.php testcommand2:update
php console.php another:run

```

---

\##Found a Bug? Please report any bugs to the [issues](https://github.com/manufacturing-industry/perseus/issues) section.

\##License &amp; Author

\#####License Information

- MIT -

\#####Author

- Ryan Rentfro -

###  Health Score

24

—

LowBetter than 30% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~40 days

Total

3

Last Release

3612d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/55036?v=4)[Ryan Rentfro](/maintainers/SourceCode)[@SourceCode](https://github.com/SourceCode)

---

Top Contributors

[![SourceCode](https://avatars.githubusercontent.com/u/55036?v=4)](https://github.com/SourceCode "SourceCode (14 commits)")

---

Tags

phpcommand-linesymfonymodularrunnertask-runnercl

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/manufacturing-industry-perseus/health.svg)

```
[![Health](https://phpackages.com/badges/manufacturing-industry-perseus/health.svg)](https://phpackages.com/packages/manufacturing-industry-perseus)
```

###  Alternatives

[nunomaduro/collision

Cli error handling for console/command-line PHP applications.

4.7k367.2M12.3k](/packages/nunomaduro-collision)[jolicode/castor

A lightweight and modern task runner. Automate everything. In PHP.

55344.7k5](/packages/jolicode-castor)

PHPackages © 2026

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