lakedrops/composer-json-utils
最新稳定版本:v2.5.3
Composer 安装命令:
composer require lakedrops/composer-json-utils
包简介
Composer Library to provide utilities to work with project's own composer.json file
README 文档
README
This base libary doesn't do much by itself. It exists as a foundation for most of the other plugins from LakeDrops and builds the composer command, plugin and handler framework together with a few utilities that are useful in most plugins:
Config
Manages all the settings (default and custom) for each plugin and stores them all together in the project root in a file called .lakedrops.yml. This file should be committed to your Git repository as it contains settings for the project similar to all developers and stages.
DotEnv
Manages stored environment variables in a env file in the root of the project. This file should NOT be committed to the Git repository, it contains local settings specific to the developer and stage.
NestedArray
A helper class to properly merge PHP array, borrowed from Drupal core.
Utils
All those utilities can be used in handler, that extend the BaseHandler class from this library with $this->utility() calls, where utility is a placeholder for any of the available callbacks. For scripts outside of the BaseHandler context, this class provides static access to the same utilities.
统计信息
- 总下载量: 38.97k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 15
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2017-11-05