PHPackages                             xtreamwayz/mezzio-console - 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. xtreamwayz/mezzio-console

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

xtreamwayz/mezzio-console
=========================

Symfony Console for Mezzio

1.4.0(4y ago)61.0k[1 PRs](https://github.com/xtreamwayz/mezzio-console/pulls)MITPHPPHP ^7.4 || ^8.0

Since Apr 29Pushed 1y ago2 watchersCompare

[ Source](https://github.com/xtreamwayz/mezzio-console)[ Packagist](https://packagist.org/packages/xtreamwayz/mezzio-console)[ Fund](https://www.paypal.me/xtreamwayz)[ RSS](/packages/xtreamwayz-mezzio-console/feed)WikiDiscussions 1.5.x Synced 4w ago

READMEChangelog (7)Dependencies (6)Versions (17)Used By (0)

[![No Maintenance Intended](https://camo.githubusercontent.com/d904056147052e22d8e1c7f46bb50293ed2aeb4c43ead9a2d0cf7a48b46d0562/687474703a2f2f756e6d61696e7461696e65642e746563682f62616467652e737667)](http://unmaintained.tech/)

Thank you so much for being interested in this project! Open Source is rewarding, but it can also be exhausting. Therefor this code is provided as-is, and is currently not actively maintained. We invite you to peruse the code and even use it in your next project, provided you follow the included license!

No guarantee of support for the code is provided, and there is no promise that pull requests will be reviewed or merged. It’s open source, so forking is allowed; just be sure to give credit where it’s due!

---

*Symfony Console for Mezzio*

This packages brings [Symfony Console](https://github.com/symfony/console) to your [Mezzio](https://github.com/mezzio/mezzio) project. It uses the `FactoryCommandLoader` for lazy loading dependencies. The `FactoryCommandLoader` does almost a good job: It only loads the one command that is required. But if no command is requested, it still initializes all commands to get the descriptions for each command. This is fixed by using a `LazyLoadingCommand`. With a bit of reflection and magic it grabs the configuration from the original command while preventing the command from executing. This way you end with a list of all commands and their descriptions.

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

[](#installation)

```
$ composer require xtreamwayz/mezzio-console
```

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

[](#configuration)

```
