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

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

proophsoftware/prooph-cli
=========================

prooph components command line tool for rapid development

v0.2.0(10y ago)1327.6k4[2 issues](https://github.com/proophsoftware/prooph-cli/issues)1BSD-3-ClausePHPPHP ~5.5 || ~7.0

Since Jan 14Pushed 10y ago3 watchersCompare

[ Source](https://github.com/proophsoftware/prooph-cli)[ Packagist](https://packagist.org/packages/proophsoftware/prooph-cli)[ Docs](http://prooph-software.com/)[ RSS](/packages/proophsoftware-prooph-cli/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (7)Versions (6)Used By (1)

prooph Command Line Interface
=============================

[](#prooph-command-line-interface)

Overview
--------

[](#overview)

The prooph command line interface generates classes to increase development speed. For available commands run

```
$ php bin/prooph-cli list
```

Here is an example output:

```
Available commands:
  help              Displays help for a command
  list              Lists commands
 prooph
  prooph:generate:aggregate  Generates an aggregate class
  prooph:generate:all        Generates an aggregate, command, command handler, command handler factory and event class.
  prooph:generate:command    Generates a command, command handler and command handler factory class
  prooph:generate:event      Generates an event class
```

There are available environment variables (see `bin/prooph-cli`) for bash scripts to configure `\Prooph\Cli\Console\Helper\Psr4Info` for your class meta data.

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

[](#installation)

You can install prooph/prooph-cli via composer by adding `"proophsoftware/prooph-cli": "^0.1"` as requirement to your composer.json.

Configuration
-------------

[](#configuration)

This tool checks if a [container-interop](https://github.com/container-interop/container-interop) instance is returned from file `config/container.php`. You can configure the class info metadata by registering an instance with name `\Prooph\Cli\Console\Helper\ClassInfo` like `\Prooph\Cli\Console\Helper\Psr4Info` to the container.

Another option is to use environment variables to configure your class metadata:

**env variables:**

- `PROOPHCLI_SOURCE_FOLDER`: path to src folder, default current working dir + 'src'
- `PROOPHCLI_PACKAGE_PREFIX`: namespace of package, default ''
- `PROOPHCLI_FILE_DOC_BLOCk`: file doc block, default ''

Support
-------

[](#support)

- Ask questions on [prooph-users](https://groups.google.com/forum/?hl=de#!forum/prooph) mailing list.
- File issues at .
- Say hello in the [prooph gitter](https://gitter.im/prooph/improoph) chat.

Contribute
----------

[](#contribute)

Please feel free to fork and extend existing or add new plugins and send a pull request with your changes! To establish a consistent code quality, please provide unit tests for all your changes and may adapt the documentation.

License
-------

[](#license)

Released under the [New BSD License](LICENSE).

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 86.7% 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 ~35 days

Total

4

Last Release

3672d ago

### Community

Maintainers

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

---

Top Contributors

[![sandrokeil](https://avatars.githubusercontent.com/u/3597436?v=4)](https://github.com/sandrokeil "sandrokeil (26 commits)")[![basz](https://avatars.githubusercontent.com/u/143068?v=4)](https://github.com/basz "basz (4 commits)")

---

Tags

clicodecomponentstooldevelopmentgenerationproophrapid

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[laminas/laminas-cli

Command-line interface for Laminas projects

563.7M54](/packages/laminas-laminas-cli)[marcocesarato/amwscan

AMWSCAN (Antimalware Scanner) is a php antimalware/antivirus scanner console script written in php for scan your project. This can work on php projects and a lot of others platform.

75317.8k1](/packages/marcocesarato-amwscan)[spatie/mixed-content-scanner-cli

A tool to scan sites for mixed content

922.5k](/packages/spatie-mixed-content-scanner-cli)[toolkit/cli-utils

useful cli tool library of the php

20222.1k16](/packages/toolkit-cli-utils)[mahocommerce/maho

Free and open source ecommerce platform, created in 2024 on the M1 platform, PHP 8.3+

1322.1k12](/packages/mahocommerce-maho)

PHPackages © 2026

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