riddlestone / brokkr-console
A Laminas module for Symfony Console
v1.2.0
2020-02-06 22:19 UTC
Requires
- php: ^7.3
- container-interop/container-interop: ^1.2
- laminas/laminas-component-installer: ^2.0 || ^1.0 || ^0.7
- laminas/laminas-mvc: ^3.1
- laminas/laminas-servicemanager: ^3.4
- laminas/laminas-stdlib: ^3.2
- symfony/console: ^4.3
Requires (Dev)
- phpunit/phpunit: ^8.4
This package is auto-updated.
Last update: 2025-02-24 23:43:05 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