PHPackages                             legatus/runtime-cli - 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. legatus/runtime-cli

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

legatus/runtime-cli
===================

Run your PHP application as a console application.

0.1.0(5y ago)012MITPHPPHP &gt;=7.4

Since Dec 28Pushed 5y ago1 watchersCompare

[ Source](https://github.com/legatus-php/runtime-cli)[ Packagist](https://packagist.org/packages/legatus/runtime-cli)[ RSS](/packages/legatus-runtime-cli/feed)WikiDiscussions master Synced 1w ago

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

Legatus CLI Runtime
===================

[](#legatus-cli-runtime)

Run your PHP application as a console application.

[![Type Coverage](https://camo.githubusercontent.com/b0363576c8a24cb07e284fef147d96e9bf1ff915504918d442a75cbdd059706e/68747470733a2f2f73686570686572642e6465762f6769746875622f6c6567617475732d7068702f72756e74696d652d636c692f636f7665726167652e737667)](https://shepherd.dev/github/legatus-php/runtime-cli)[![Mutation testing badge](https://camo.githubusercontent.com/91e7c0272e851556a9c136a84ccaeb6e9d0b30db6f5f757f3d92e4c2a279855e/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d2532466c6567617475732d70687025324672756e74696d652d636c692532466d6173746572)](https://dashboard.stryker-mutator.io/reports/github.com/legatus-php/event-dispatcher/master)

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

[](#installation)

You can install the CLI Runtime component using [Composer](https://getcomposer.org/):

```
composer require legatus/runtime-cli
```

Quick Start
-----------

[](#quick-start)

For more details you can check the [online documentation here](https://legatus.dev/components/runtime-cli).

Project status &amp; release process
------------------------------------

[](#project-status--release-process)

While this library is still under development, it is well tested and should be stable enough to use in production environments.

The current releases are numbered 0.x.y. When a non-breaking change is introduced (adding new methods, optimizing existing code, etc.), y is incremented.

When a breaking change is introduced, a new 0.x version cycle is always started.

It is therefore safe to lock your project to a given release cycle, such as 0.2.\*.

If you need to upgrade to a newer release cycle, check the [release history](https://github.com/legatus-php/runtime-cli/releases) for a list of changes introduced by each further 0.x.0 version.

Community
---------

[](#community)

We still do not have a community channel. If you would like to help with that, you can let me know!

Contributing
------------

[](#contributing)

Read the contributing guide to know how can you contribute to Legatus.

Security Issues
---------------

[](#security-issues)

Please report security issues privately by email and give us a period of grace before disclosing.

About Legatus
-------------

[](#about-legatus)

Legatus is a personal open source project led by Matías Navarro Carter and developed by contributors.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

Unknown

Total

1

Last Release

1967d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/79e7625b4370021decec6b5b24191d657cf1f0435181bc26791314317e71155a?d=identicon)[mnavarrocarter](/maintainers/mnavarrocarter)

---

Top Contributors

[![mnavarrocarter](https://avatars.githubusercontent.com/u/17072441?v=4)](https://github.com/mnavarrocarter "mnavarrocarter (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/legatus-runtime-cli/health.svg)

```
[![Health](https://phpackages.com/badges/legatus-runtime-cli/health.svg)](https://phpackages.com/packages/legatus-runtime-cli)
```

###  Alternatives

[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[crazywhalecc/static-php-cli

Build single static PHP binary, with PHP project together, with popular extensions included.

1.8k13.9k](/packages/crazywhalecc-static-php-cli)[matthiasnoback/symfony-console-form

Use Symfony forms for Console command input

368264.8k8](/packages/matthiasnoback-symfony-console-form)[phpcr/phpcr-shell

Shell for PHPCR

721.3M8](/packages/phpcr-phpcr-shell)[madewithlove/license-checker

CLI tool to verify allowed licenses for composer dependencies

54449.8k21](/packages/madewithlove-license-checker)[shel/neos-terminal

Neos CMS Ui terminal for running Eel expressions and other commands

1441.3k](/packages/shel-neos-terminal)

PHPackages © 2026

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