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

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

switon/cli
==========

CLI commands and console tooling for Switon Framework

v1.0.0(1mo ago)053MITPHPPHP &gt;=8.3CI passing

Since May 10Pushed 1mo agoCompare

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

READMEChangelogDependencies (10)Versions (2)Used By (3)

Switon CLI Package
==================

[](#switon-cli-package)

CLI commands and console tooling for Switon Framework.

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

[](#installation)

```
composer require switon/cli
```

**Requirements:** PHP 8.3+

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

[](#quick-start)

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

use Switon\Cli\Kernel;

$kernel = new Kernel();
$kernel->start();
```

```
namespace App\Command;

use Switon\Core\Attribute\Autowired;
use Switon\Core\Contract\ConsoleInterface;

class GreetCommand
{
    #[Autowired] protected ConsoleInterface $console;

    /**
     * Output a demo greeting.
     *
     * @param string|null $name Who to greet.
     */
    public function helloAction(?string $name = null): void
    {
        $this->console->success('Hello, {name}!', ['name' => $name ?? 'world']);
    }
}
```

Docs:

License
-------

[](#license)

MIT.

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance94

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

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

30d ago

### Community

Maintainers

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

---

Top Contributors

[![switon-php](https://avatars.githubusercontent.com/u/247358032?v=4)](https://github.com/switon-php "switon-php (9 commits)")

---

Tags

clicommandsconsoleswitoncliconsolecommandsswiton

### Embed Badge

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

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

###  Alternatives

[symfony/symfony

The Symfony PHP framework

31.4k86.9M2.2k](/packages/symfony-symfony)[buggregator/trap

A simple and powerful tool for debugging PHP applications.

2732.1M60](/packages/buggregator-trap)[aplus/cli

Aplus Framework CLI Library

2311.7M6](/packages/aplus-cli)[laminas/laminas-cli

Command-line interface for Laminas projects

564.0M67](/packages/laminas-laminas-cli)[maximebf/consolekit

Library to create command line utilities

116105.7k9](/packages/maximebf-consolekit)[testo/testo

A lightweight PHP testing framework.

1843.4k30](/packages/testo-testo)

PHPackages © 2026

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