dirtsimple/yaml2json 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

dirtsimple/yaml2json

最新稳定版本:v1.2.1

Composer 安装命令:

composer require dirtsimple/yaml2json

包简介

Full-fidelity YAML/JSON command-line converters

README 文档

README

This is a pure-PHP YAML to JSON (and JSON to YAML) converter pair for use with jqmd, imposer, and similar tools in environments where better conversion tools are not available.

The converters take no options, reading one format from stdin and writing the other to stdout. The executables are PHARs named yaml2json.php and json2yaml.php to avoid conflict with other executables with these base names, and are distributed as PHARs to avoid dependency conflicts.

(That is, requiring this package installs only the executable PHARs to vendor/bin to be used purely as command-line tools, without affecting the requiring project's autoloader or dependencies.)

As of version 1.2, the output of json2yaml.php is generated using the dirtsimple/clean-yaml package, to support optimum diffing and readability.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-03-18