定制 clevis/config-version-extension 二次开发

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

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

clevis/config-version-extension

Composer 安装命令:

composer require clevis/config-version-extension

包简介

Versions for sample/local Nette configuration files

README 文档

README

Installation

composer require clevis/config-version-extension:~1.0

config.neon:

extensions:
	version: Clevis\Version\DI\VersionExtension

config.local.sample.neon and config.local.neon:

version: [1]

Usage

Whenever you change config.local.sample.neon in a back compatibility breaking way, update version key in sample config. Hook onCompile will check if your local config is up to date. If not, it presents you the following exception with custom Tracy panel:

If you aren't using default paths, set them before Container builds

use Clevis\Version\DI\VersionExtension;
VersionExtension::$samplePath = '%appDir%/config/config.local.example.neon';

统计信息

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

GitHub 信息

  • Stars: 6
  • Watchers: 10
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-08-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固