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

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

pmvc/pmvc-cli
=============

PMVC Global command-line, type "pmvc xxx" in your project folder

85.0.1(3mo ago)02.4kISCPHP

Since Mar 12Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/pmvc/pmvc-cli)[ Packagist](https://packagist.org/packages/pmvc/pmvc-cli)[ RSS](/packages/pmvc-pmvc-cli/feed)WikiDiscussions main Synced today

READMEChangelog (6)Dependencies (12)Versions (12)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/c80cef8e110fcfd1d89c173156f1880a36360054504d1335682f471c67887114/68747470733a2f2f706f7365722e707567782e6f72672f706d76632f706d76632d636c692f762f737461626c65)](https://packagist.org/packages/pmvc/pmvc-cli)[![Latest Unstable Version](https://camo.githubusercontent.com/d15b204836c4cd5f8f728e2cfc558a0d8dcdca73e7b0a11d68814672861ab725/68747470733a2f2f706f7365722e707567782e6f72672f706d76632f706d76632d636c692f762f756e737461626c65)](https://packagist.org/packages/pmvc/pmvc-cli)[![CircleCI](https://camo.githubusercontent.com/09b991c0fd505b6f87eeb297680a0471cb152e5f01e4edc568405cf93cfe8dd3/68747470733a2f2f636972636c6563692e636f6d2f67682f706d76632f706d76632d636c692f747265652f6d61696e2e7376673f7374796c653d737667)](https://circleci.com/gh/pmvc/pmvc-cli/tree/main)[![License](https://camo.githubusercontent.com/010cd45d35d4f3b6fb6fd04cbc7677f7aa692cb47968c3945e3ce7933a8a2808/68747470733a2f2f706f7365722e707567782e6f72672f706d76632f706d76632d636c692f6c6963656e7365)](https://packagist.org/packages/pmvc/pmvc-cli)[![Total Downloads](https://camo.githubusercontent.com/c5b79c597ce7952a38151a662a0299288a6dd9cff864a8a234c078837160c581/68747470733a2f2f706f7365722e707567782e6f72672f706d76632f706d76632d636c692f646f776e6c6f616473)](https://packagist.org/packages/pmvc/pmvc-cli)

PMVC-CLI
========

[](#pmvc-cli)

PMVC-CLI design to install globally and it could run anywhere under project folder. So recommend install it globally.

```
composer global require pmvc/pmvc-cli

```

You could run it as

```
pmvc [app name]:[action name]

```

Require / Need install following pakaging by yourself
-----------------------------------------------------

[](#require--need-install-following-pakaging-by-yourself)

These packages controll by each project and not instlled as global, need install by yourself.

```
  "pmvc-plugin/cli"             : "*",
  "pmvc-plugin/controller"      : "*",
  "pmvc-plugin/default_forward" : "*",
  "pmvc-plugin/dispatcher"      : "*",
  "pmvc-plugin/dotenv"          : "*"

```

Suggests to install.
--------------------

[](#suggests-to-install)

```
  "pmvc-plugin/debug",
  "pmvc-plugin/debug_cli",
  "pmvc-plugin/dev",
  "pmvc-plugin/error",

```

Install with Composer
---------------------

[](#install-with-composer)

### 1. Download composer

[](#1-download-composer)

- mkdir test\_folder
- curl -sS  | php

### 2. Install by composer.json or use command-line directly

[](#2-install-by-composerjson-or-use-command-line-directly)

#### 2.1 Install by composer.json

[](#21-install-by-composerjson)

- vim composer.json

```
{
    "require": {
        "pmvc/pmvc-cli": "dev-main"
    }
}

```

- php composer.phar install

#### 2.2 Or use composer command-line

[](#22-or-use-composer-command-line)

- php composer.phar require pmvc/pmvc-cli

#### 2.3 Inatall globally

[](#23-inatall-globally)

```
php composer.phar global require pmvc/pmvc-cli

```

or

```
composer global require pmvc/pmvc-cli

```

###  Health Score

44

—

FairBetter than 91% of packages

Maintenance82

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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 ~219 days

Recently: every ~282 days

Total

10

Last Release

96d ago

Major Versions

0.6.4 → 85.0.12026-03-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f593111e77142a10224458b0436e6b2d6f3e537f924c03130f0208bd3c4477f?d=identicon)[HillLiu](/maintainers/HillLiu)

---

Top Contributors

[![HillLiu](https://avatars.githubusercontent.com/u/1877738?v=4)](https://github.com/HillLiu "HillLiu (89 commits)")

---

Tags

clipmvc

### Embed Badge

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

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

###  Alternatives

[symfony/console

Eases the creation of beautiful and testable command line interfaces

9.8k1.1B13.4k](/packages/symfony-console)[nunomaduro/collision

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

4.7k357.7M10.6k](/packages/nunomaduro-collision)[nunomaduro/termwind

It's like Tailwind CSS, but for the console.

2.5k260.6M370](/packages/nunomaduro-termwind)[wp-cli/wp-cli

WP-CLI framework

5.1k18.5M394](/packages/wp-cli-wp-cli)[wp-cli/php-cli-tools

Console utilities for PHP

68227.8M374](/packages/wp-cli-php-cli-tools)[socialengine/sniffer-rules

A Lumen 5 and Laravel 5 SquizLabs Code Sniffer 2.0 artisan command. Detect violations of a defined coding standard. It helps your code remains clean and consistent.

1348.3k1](/packages/socialengine-sniffer-rules)

PHPackages © 2026

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