定制 becklyn/yaml-parameters 二次开发

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

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

becklyn/yaml-parameters

Composer 安装命令:

composer require becklyn/yaml-parameters

包简介

Composer script handling the dist parameters file.

README 文档

README

Automates the installation workflow for parameters.yaml files.

Installation and Usage

Add the following code to your composer.json:

{
    "require": {
        "becklyn/yaml-parameters-handler": "^1.0"
    },
    "scripts": {
        "yaml-parameters": [
            "Becklyn\\YamlParameters\\Script::handle"
        ],
        "post-install-cmd": [
            "@yaml-parameters"
        ],
        "post-update-cmd": [
            "@yaml-parameters"
        ]
    },
    "extra": {
        "parameters": "config/parameters.yaml"
    }
}

The "extra"-parameter is optional, it defaults to config/parameters.yaml. The .dist file must be named like the target file, with additional .dist infix before the extension (the default is config/parameters.yaml -> config/parameters.dist.yaml)

  • All obsolete config will be removed without warning.
  • The merging of .dist parameters only works for scalars and arrays.

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2018-01-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固