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

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

gemvc/cli-dev
=============

GEMVC development CLI: codegen, admin tools, database introspection. Internal ecosystem package — install with --dev only.

1.2.0(1w ago)05↓57.1%MITPHPPHP ^8.2

Since Jun 8Pushed 1w agoCompare

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

READMEChangelog (2)Dependencies (11)Versions (4)Used By (0)

gemvc/cli-dev
=============

[](#gemvccli-dev)

Development CLI commands for the [GEMVC](https://gemvc.de) framework.

Composer package: `gemvc/cli-dev`
GitHub repo: [gemvc/cli-dev](https://github.com/gemvc/cli-dev)
Current release: **1.1.2** (9 June 2026) — see [RELEASE\_NOTES.md](RELEASE_NOTES.md)

> **WARNING**
>
> This is an **internal GEMVC ecosystem package**. Install it **only as a dev dependency** alongside `gemvc/library`.
>
> **Do not** install in production (`composer install --no-dev` should omit this package).
>
> Core commands (`gemvc init`, `db:migrate`) remain in `gemvc/library`.

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

[](#installation)

```
composer require --dev gemvc/cli-dev
```

Requires `gemvc/library` ^5.8 (pulled in automatically).

Commands
--------

[](#commands)

GroupCommandsCode generation`create:service`, `create:controller`, `create:model`, `create:table`, `create:crud`Database (dev)`db:init`, `db:list`, `db:describe`, `db:drop`, `db:unique`Admin`admin:setpassword`, `admin:setadmin`Production migrations stay in the core library: `gemvc db:migrate TableClass`.

Namespace
---------

[](#namespace)

`Gemvc\CLI\Commands\*` — unchanged from the monorepo layout.

Shared internal traits (same namespace, not part of the public CLI surface):

- `ResolvesDatabaseEnvironment` — DB env loading for `db:*` commands

Dependencies
------------

[](#dependencies)

- `gemvc/cli-base` — terminal I/O and codegen abstracts
- `gemvc/library` — database layer, helpers, `DbConnect` / `DbMigrate` (core)

Pairing with gemvc/library
--------------------------

[](#pairing-with-gemvclibrary)

```
gemvc/library  →  does NOT require cli-dev (suggest only after 5.9)
gemvc/cli-dev  →  requires gemvc/library (no circular dependency)

```

Development
-----------

[](#development)

```
composer install
composer test              # unit + feature (223 tests)
composer test:unit         # unit tests only
composer test:feature      # feature tests (project-style runs)
composer test:coverage     # full coverage report
composer test:feature:coverage
composer phpstan           # level 9
```

Feature tests run commands against a seeded project under `build/feature-projects/` (`.env`, `composer.json`, templates). Unit tests use stubs in `stubs/` for library types not bundled in this package.

See [CLI\_DEV.md](CLI_DEV.md) for command reference.

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance98

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community6

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

Every ~18 days

Total

3

Last Release

9d ago

### Community

Maintainers

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

---

Top Contributors

[![gemvc](https://avatars.githubusercontent.com/u/211101824?v=4)](https://github.com/gemvc "gemvc (21 commits)")

---

Tags

clidevelopmentcodegengemvc

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[symfony/console

Eases the creation of beautiful and testable command line interfaces

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

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

4.7k357.7M11.5k](/packages/nunomaduro-collision)[nunomaduro/termwind

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

2.5k271.5M393](/packages/nunomaduro-termwind)[wp-cli/wp-cli

WP-CLI framework

5.1k19.2M415](/packages/wp-cli-wp-cli)[wp-cli/php-cli-tools

Console utilities for PHP

68227.8M376](/packages/wp-cli-php-cli-tools)[proophsoftware/prooph-cli

prooph components command line tool for rapid development

1327.7k1](/packages/proophsoftware-prooph-cli)

PHPackages © 2026

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