PHP code example of tmihalicka / symfony-console-module

1. Go to this page and download the library: Download tmihalicka/symfony-console-module library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

tmihalicka / symfony-console-module example snippets


     'SymfonyConsoleModule',
     


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


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