2017 © Pedro Peláez
 

library convert-config

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

image

olegstepura/convert-config

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

  • Sunday, February 10, 2013
  • by olegstepura
  • Repository
  • 1 Watchers
  • 3 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 15 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

convert-config

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., (*1)

If you want to automatically overwrite the destination file when it exists use --force or -f option., (*2)

Installation

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

Usage

To convert composer file from yaml to json, run:, (*3)

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

To convert composer file from json to yaml, run:, (*4)

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

The Versions

10/02 2013

dev-master

9999999-dev

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

  Sources   Download

MIT

The Requires