2017 © Pedro Peláez
 

library symfony-console-module

Symfony Console Component for Zend Framework MVC

image

tmihalicka/symfony-console-module

Symfony Console Component for Zend Framework MVC

  • Monday, June 5, 2017
  • by TomasMihalicka
  • Repository
  • 0 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

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., (*1)

See Symfony Console on how to write commands., (*2)

Installation

Installation of DoctrineModule uses composer. For composer documentation, please refer to getcomposer.org., (*3)

  1. cd my/project/directory
  2. create or modify the composer.json file within your ZF2 application file with following contents:, (*4)

    json { "require": { "wfk/symfony-console-module": "*" } }, (*5)

  3. install composer via curl -s https://getcomposer.org/installer | php (on windows, download https://getcomposer.org/installer 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:, (*6)

    php 'SymfonyConsoleModule',, (*7)

Register commands

All commands registered in config[console][commands] get pulled from the service locator and placed in the Symfony console application., (*8)

<?php
return array(
    'console' => array(
        'commands' => array(
            'MyService\LocatorAlias\ToCommand'
        )
    )
);

Running commands

To run your console app simply run index.php. From your project root:, (*9)

php public/index.php <arguments>, (*10)

Extra configuration

The following extra configurations are optional for the Symfony console application., (*11)

<?php
return array(
    'console' => array(
        'name' => 'Some console title',
        'version' => 'Some console version',
        'commands' => array(
            // ...
        ),
    )
);

The Versions

05/06 2017

dev-master

9999999-dev

Symfony Console Component for Zend Framework MVC

  Sources   Download

The Requires

 

by Freek Gruntjes

console mvc symfony

05/06 2017

0.1.3

0.1.3.0

Symfony Console Component for Zend Framework MVC

  Sources   Download

The Requires

 

by Freek Gruntjes

console mvc symfony

10/01 2013

0.1.2

0.1.2.0

Symfony Console Component for Zend Framework MVC

  Sources   Download

The Requires

 

by Freek Gruntjes

console mvc symfony

26/12 2012

0.1.1

0.1.1.0

Symfony Console Component for Zend Framework MVC

  Sources   Download

The Requires

 

by Freek Gruntjes

console mvc symfony

22/12 2012

0.1.0

0.1.0.0

Symfony Console Component for Zend Framework MVC

  Sources   Download

The Requires

 

by Freek Gruntjes

console mvc symfony