2017 © Pedro Peláez
 

library prooph-cli

prooph components command line tool for rapid development

image

proophsoftware/prooph-cli

prooph components command line tool for rapid development

  • Thursday, April 28, 2016
  • by proophsoftware
  • Repository
  • 3 Watchers
  • 8 Stars
  • 5,379 Installations
  • PHP
  • 1 Dependents
  • 2 Suggesters
  • 3 Forks
  • 2 Open issues
  • 6 Versions
  • 7 % Grown

The README.md

prooph Command Line Interface

Overview

The prooph command line interface generates classes to increase development speed. For available commands run, (*1)

$ php bin/prooph-cli list

Here is an example output:, (*2)

Available commands:
  help              Displays help for a command
  list              Lists commands
 prooph
  prooph:generate:aggregate  Generates an aggregate class
  prooph:generate:all        Generates an aggregate, command, command handler, command handler factory and event class.
  prooph:generate:command    Generates a command, command handler and command handler factory class
  prooph:generate:event      Generates an event class

There are available environment variables (see bin/prooph-cli) for bash scripts to configure \Prooph\Cli\Console\Helper\Psr4Info for your class meta data., (*3)

Installation

You can install prooph/prooph-cli via composer by adding "proophsoftware/prooph-cli": "^0.1" as requirement to your composer.json., (*4)

Configuration

This tool checks if a container-interop instance is returned from file config/container.php. You can configure the class info metadata by registering an instance with name \Prooph\Cli\Console\Helper\ClassInfo like \Prooph\Cli\Console\Helper\Psr4Info to the container., (*5)

Another option is to use environment variables to configure your class metadata:, (*6)

env variables:, (*7)

  • PROOPHCLI_SOURCE_FOLDER: path to src folder, default current working dir + 'src'
  • PROOPHCLI_PACKAGE_PREFIX: namespace of package, default ''
  • PROOPHCLI_FILE_DOC_BLOCk: file doc block, default ''

Support

Contribute

Please feel free to fork and extend existing or add new plugins and send a pull request with your changes! To establish a consistent code quality, please provide unit tests for all your changes and may adapt the documentation., (*8)

License

Released under the New BSD License., (*9)

The Versions

28/04 2016

dev-master

9999999-dev http://prooph-software.com/

prooph components command line tool for rapid development

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

development code cli generation components tool rapid prooph

28/04 2016

dev-develop

dev-develop http://prooph-software.com/

prooph components command line tool for rapid development

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

development code cli generation components tool rapid prooph

28/04 2016