idrinth/yaml-facade
Composer 安装命令:
composer require idrinth/yaml-facade
包简介
provides an facade for php-yaml, syck and symphony/yaml so switching in between is easier
README 文档
README
This library unifies the access to two different php-extensions and the symphony yaml component to make switching easier. It falls back to implementations in the following order:
- php yaml ( http://php.net/manual/en/book.yaml.php )
- php syck ( https://github.com/indeyets/syck )
- symfony/yaml ( https://packagist.org/packages/symfony/yaml )
Limitations
Since the yaml-implementations deal with errors very differently, please don't try to parse something that is not intended to end up as an array.
Low Coverage
Currently building the syck library fails on travis, so the related code can not be tested and tests are skipped.
Installation
Installation via composer is the proposed way of using this library. It will always use semantic versioning.
"require": {
"idrinth/yaml-facade": "^1.0"
}
统计信息
- 总下载量: 976
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-12-23