PHPackages                             wfk/symfony-console-module - 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. wfk/symfony-console-module

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

wfk/symfony-console-module
==========================

Symfony Console Component for Zend Framework MVC

0.1.2(13y ago)217.4k3[2 issues](https://github.com/Fraak/SymfonyConsoleModule/issues)[1 PRs](https://github.com/Fraak/SymfonyConsoleModule/pulls)PHPPHP &gt;=5.3

Since Dec 22Pushed 8y agoCompare

[ Source](https://github.com/Fraak/SymfonyConsoleModule)[ Packagist](https://packagist.org/packages/wfk/symfony-console-module)[ RSS](/packages/wfk-symfony-console-module/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

SymfonyConsoleModule
====================

[](#symfonyconsolemodule)

Symfony Console Module for Zend Framework. Note that this is a full replacement for the Zend Console so your zend commands will not work any longer.

See [Symfony Console](http://symfony.com/doc/2.0/components/console/index.html) on how to write commands.

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

[](#installation)

Installation of DoctrineModule uses composer. For composer documentation, please refer to [getcomposer.org](http://getcomposer.org/).

1. `cd my/project/directory`
2. create or modify the `composer.json` file within your ZF2 application file with following contents:

    ```
    {
        "require": {
            "wfk/symfony-console-module": "*"
        }
    }
    ```
3. install composer via `curl -s https://getcomposer.org/installer | php` (on windows, download  and execute it with PHP). Then run `php composer.phar install`
4. open `my/project/directory/configs/application.config.php` and add the following key to your `modules`:

    ```
    'SymfonyConsoleModule',
    ```

Register commands
-----------------

[](#register-commands)

All commands registered in config\[console\]\[commands\] get pulled from the service locator and placed in the Symfony console application.

```
