Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 891 Bytes

README.md

File metadata and controls

41 lines (31 loc) · 891 Bytes

Riddlestone Brokkr-Console

A Laminas module for Symfony Console

Installation

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

composer require riddlestone/brokkr-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/brokkr my-command

Get Involved

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