PHPackages                             cadre/cliadr - 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. cadre/cliadr

AbandonedLibrary

cadre/cliadr
============

Command line ADR implementation

0.2.0(8y ago)3251MITPHPPHP &gt;=7.0

Since Oct 21Pushed 8y ago2 watchersCompare

[ Source](https://github.com/cadrephp/Cadre.CliAdr)[ Packagist](https://packagist.org/packages/cadre/cliadr)[ RSS](/packages/cadre-cliadr/feed)WikiDiscussions 0.x Synced today

READMEChangelog (3)Dependencies (7)Versions (5)Used By (0)

Cadre.CliAdr
============

[](#cadrecliadr)

This is a proof of concept command line Action-Domain-Responder (ADR) implementation.

It's heavily inspired by [Radar](https://github.com/radarphp/Radar.Project).

Example
-------

[](#example)

```
use Aura\Cli\CliFactory;
use Aura\Cli\Context;
use Aura\Cli\Help;
use Aura\Cli\Stdio;
use Cadre\CliAdr\Boot;
use Cadre\CliAdr\Input\HelpAwareInterface;

require __DIR__ . '/vendor/autoload.php';

$boot = new Boot();
$adr = $boot->adr();

$adr->route('hello', function ($name) {
    return "Hello, {$name}";
})->input(new class implements HelpAwareInterface {
    public function help(Help $help)
    {
        $help->setSummary('Hello, World');
        $help->setOptions([
            '#name?' => 'First name [default: "World"]',
        ]);

        return $help;
    }

    public function __invoke(Context $context)
    {
        $getopt = $context->getopt([]);
        return [$getopt->get(2, 'World')];
    }
});

$factory = new CliFactory();
$context = $factory->newContext($GLOBALS);
$stdio = $factory->newStdio();

exit($adr->run($context, $stdio));
```

###  Health Score

25

—

LowBetter than 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.4% 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 ~85 days

Total

5

Last Release

3098d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/97c4de661b1a9718e83127e45b82b743076baf61bb9321708c9dfad7b02ad5a1?d=identicon)[andrewshell](/maintainers/andrewshell)

---

Top Contributors

[![andrewshell](https://avatars.githubusercontent.com/u/144136?v=4)](https://github.com/andrewshell "andrewshell (10 commits)")[![jakejohns](https://avatars.githubusercontent.com/u/174708?v=4)](https://github.com/jakejohns "jakejohns (4 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/cadre-cliadr/health.svg)

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

###  Alternatives

[dbdiff/dbdiff

732118.6k](/packages/dbdiff-dbdiff)[aura/framework

The Aura Framework package, when combined with a system skeleton, provides a full-stack framework built from Aura component packages.

9912.3k3](/packages/aura-framework)[bear/package

BEAR.Sunday application framework package

30518.8k21](/packages/bear-package)[bookdown/bookdown

Provides DocBook-like rendering of Markdown files.

8256.9k13](/packages/bookdown-bookdown)[aura/system

A full-stack framework system built from Aura library packages.

621.2k](/packages/aura-system)[radar/adr

The Action-Domain-Responder core library for Radar.

547.5k4](/packages/radar-adr)

PHPackages © 2026

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