riddlestone/brokkr-console

A Laminas module for Symfony Console

v1.2.0 2020-02-06 22:19 UTC

This package is auto-updated.

Last update: 2022-01-24 17:03:09 UTC


README

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