Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

riddlestone/zf-console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Riddlestone ZF-Console

A Zend Framework 2 module for Symfony Console

Repository archived 2020-01-28

This repository has moved to riddlestone/brokkr-console.

Installation

Installation of this module uses composer. For composer documentation, please refer to getcomposer.org.

composer require riddlestone/zf-console

Usage

To include your Symfony\Component\Console\Command\Command commands in the console, add them to your module's config file:

<?php
return [
    'console' => [
        'commands' => [
            'My\\Command',
        ],
    ],
    'service_manager' => [
        'factories' => [
            'My\\Command' => 'My\\CommandFactory',
        ],
    ],
];

Your command will now be available in your project:

vendor/bin/console my-command

Get Involved

File issues at https://github.com/riddlestone/zf-console/issues