定制 proophsoftware/prooph-cli 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

proophsoftware/prooph-cli

最新稳定版本:v0.2.0

Composer 安装命令:

composer require proophsoftware/prooph-cli

包简介

prooph components command line tool for rapid development

README 文档

README

Overview

The prooph command line interface generates classes to increase development speed. For available commands run

$ php bin/prooph-cli list

Here is an example output:

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.

Installation

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

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.

Another option is to use environment variables to configure your class metadata:

env variables:

  • 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.

License

Released under the New BSD License.

统计信息

  • 总下载量: 27.68k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 13
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 2

GitHub 信息

  • Stars: 13
  • Watchers: 3
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2016-01-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固