2017 © Pedro Peláez
 

library expressive-console

Symfony Console for Zend Expressive

image

xtreamwayz/expressive-console

Symfony Console for Zend Expressive

  • Tuesday, July 31, 2018
  • by xtreamwayz
  • Repository
  • 1 Watchers
  • 0 Stars
  • 51 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 76 % Grown

The README.md

No Maintenance Intended, (*1)

Thank you so much for being interested in this project! Open Source is rewarding, but it can also be exhausting. Therefor this code is provided as-is, and is currently not actively maintained. We invite you to peruse the code and even use it in your next project, provided you follow the included license!, (*2)

No guarantee of support for the code is provided, and there is no promise that pull requests will be reviewed or merged. It’s open source, so forking is allowed; just be sure to give credit where it’s due!, (*3)


Symfony Console for Mezzio, (*4)

This packages brings Symfony Console to your Mezzio project. It uses the FactoryCommandLoader for lazy loading dependencies. The FactoryCommandLoader does almost a good job: It only loads the one command that is required. But if no command is requested, it still initializes all commands to get the descriptions for each command. This is fixed by using a LazyLoadingCommand. With a bit of reflection and magic it grabs the configuration from the original command while preventing the command from executing. This way you end with a list of all commands and their descriptions., (*5)

Installation

$ composer require xtreamwayz/mezzio-console

Configuration

<?php

declare(strict_types=1);

namespace App;

return [
    'dependencies' => [
        'factories' => [
            Console\MyCommand::class      => Console\MyCommandFactory::class,
            Console\AnotherCommand::class => Console\AnotherCommandFactory::class,
        ],
    ],

    'console' => [
        'commands' => [
            'my:command'      => Console\MyCommand::class,
            'another:command' => Console\AnotherCommand::class,
        ],
    ],
];

Documentation

All project documentation is located in the ./docs folder. If you would like to contribute to the documentation, please submit a pull request. You can read the docs online: https://xtreamwayz.github.io/mezzio-console/, (*6)

Contributing

BEFORE you start work on a feature or fix, please read & follow the contributing guidelines to help avoid any wasted or duplicate effort., (*7)

Code released under the MIT License. Documentation distributed under CC BY 4.0., (*8)

The Versions

31/07 2018

dev-master

9999999-dev

Symfony Console for Zend Expressive

  Sources   Download

MIT

The Requires

 

The Development Requires

console expressive zend-expressive

15/05 2018

0.1.1

0.1.1.0

Symfony Console for Zend Expressive

  Sources   Download

MIT

The Requires

 

The Development Requires

console expressive zend-expressive

15/05 2018

dev-feature/mdc

dev-feature/mdc

Symfony Console for Zend Expressive

  Sources   Download

MIT

The Requires

 

The Development Requires

console expressive zend-expressive

15/05 2018

dev-hotfix/missing-name

dev-hotfix/missing-name

Symfony Console for Zend Expressive

  Sources   Download

MIT

The Requires

 

The Development Requires

console expressive zend-expressive

29/04 2018

0.1.0

0.1.0.0

Symfony Console for Zend Expressive

  Sources   Download

MIT

The Requires

 

The Development Requires

console expressive zend-expressive