定制 tommyseus/zend-expressive-symfony-console 二次开发

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

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

tommyseus/zend-expressive-symfony-console

Composer 安装命令:

composer require 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.

README 文档

README

Latest Stable Version License Build Status Coverage Status

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

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.

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.

$ vendor/bin/ze-sf-console list

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-02-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固