2017 © Pedro Peláez
 

library zend-expressive-symfony-console

This project adds a executable file to the composer bin folder to run symfony commands under a zend-expressive application environment.

image

tommyseus/zend-expressive-symfony-console

This project adds a executable file to the composer bin folder to run symfony commands under a zend-expressive application environment.

  • Wednesday, February 28, 2018
  • by tommyseus
  • Repository
  • 1 Watchers
  • 0 Stars
  • 52 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 53 % Grown

The README.md

zend-expressive symfony console

Latest Stable Version License Build Status Coverage Status, (*1)

This project adds a executable file to the composer bin folder to run symfony commands under a zend-expressive application environment., (*2)

Installation

Requirements

  • PHP 7.1
  • a config/container.php file (returns a ContainerInterface instance)

Composer installation

$ composer require tommyseus/zend-expressive-symfony-console

Configuration

zend-expressive configuration

Add the \Seus\Zend\Expressive\SymfonyConsole\ConfigProvider to the config/config.php file., (*3)

Configuration of the symfony console application

  • Add this configuration to your application config (ex.: config/autoload/ze-sf-console.global.php).
  • It is recommended to define the command name.
[
    'seus-zend-expressive-symfony-console' => [
        'name' => 'Console Name',
        'version' => '1.0.0', // optional
        'commands' => [
            // add the command service names here
            // ex.: 'foo:bar' => Command::class, // recommended, lazy
            // ex.: Command::class, // not lazy
        ],
    ],

    'dependencies' => [
        'factories' => [
            // add commands as a service to the container
            // ex.: Command::class => CommandFactory::class,
        ],
    ],
],

Run commands

This module adds a executable file under the composer bin directory to execute symfony commands., (*4)

$ vendor/bin/ze-sf-console list

The Versions

28/02 2018

v1.0.0

1.0.0.0 https://github.com/tommyseus/zend-expressive-symfony-console

This project adds a executable file to the composer bin folder to run symfony commands under a zend-expressive application environment.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tommy Seus

console symfony zendframework zf expressive zend-expressive

28/02 2018

dev-master

9999999-dev https://github.com/tommyseus/zend-expressive-symfony-console

This project adds a executable file to the composer bin folder to run symfony commands under a zend-expressive application environment.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tommy Seus

console symfony zendframework zf expressive zend-expressive