定制 olegstepura/convert-config 二次开发

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

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

olegstepura/convert-config

Composer 安装命令:

composer require olegstepura/convert-config

包简介

Convert configuration files between different formats (yaml, json, php)

README 文档

README

This project allows you to convert a configuration file in yaml, json or php format to each other of these formats. You may provide absolute or relative to current working directory file paths.

If you want to automatically overwrite the destination file when it exists use --force or -f option.

Installation

$ curl -s http://getcomposer.org/installer | php
$ php composer.phar install

Usage

To convert composer file from yaml to json, run:

$ bin/convert-config yaml-to-json composer.yml composer.json

To convert composer file from json to yaml, run:

$ bin/convert-config json-to-yaml composer.json composer.yml

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 14
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2012-03-17