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

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

marko/cli
=========

Marko Framework CLI

0.7.0(1mo ago)0907↓49.2%17MITPHPPHP ^8.5

Since Mar 25Pushed 3w agoCompare

[ Source](https://github.com/marko-php/marko-cli)[ Packagist](https://packagist.org/packages/marko/cli)[ RSS](/packages/marko-cli/feed)WikiDiscussions develop Synced 3w ago

READMEChangelogDependencies (4)Versions (18)Used By (7)

marko/cli
=========

[](#markocli)

Global command-line tool --- run `marko` from any project directory to execute commands.

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

[](#installation)

```
composer global require marko/cli
```

Quick Example
-------------

[](#quick-example)

```
use Marko\Core\Attributes\Command;
use Marko\Core\Command\CommandInterface;
use Marko\Core\Command\Input;
use Marko\Core\Command\Output;

#[Command(name: 'greet', description: 'Say hello')]
class GreetCommand implements CommandInterface
{
    public function execute(Input $input, Output $output): int
    {
        $output->writeLine('Hello, World!');

        return 0;
    }
}
```

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

[](#documentation)

Full usage, API reference, and examples: [marko/cli](https://marko.build/docs/packages/cli/)

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance92

Actively maintained with recent releases

Popularity20

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.3% 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 ~3 days

Total

16

Last Release

53d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/437029?v=4)[Mark Shust](/maintainers/markshust)[@markshust](https://github.com/markshust)

---

Top Contributors

[![markshust](https://avatars.githubusercontent.com/u/437029?v=4)](https://github.com/markshust "markshust (14 commits)")[![jasonjpeters](https://avatars.githubusercontent.com/u/1882474?v=4)](https://github.com/jasonjpeters "jasonjpeters (1 commits)")

###  Code Quality

TestsPest

### Embed Badge

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

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

###  Alternatives

[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24726.4M22](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

13045.3M6.2k](/packages/illuminate-console)

PHPackages © 2026

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