项目作者: webuni

项目描述 :
Composer plugin to convert a composer.yml to json or vice-versa.
高级语言: PHP
项目地址: git://github.com/webuni/composer-yaml-plugin.git
创建时间: 2016-10-22T02:02:22Z
项目社区:https://github.com/webuni/composer-yaml-plugin

开源协议:MIT License

下载


Composer YAML Plugin

Packagist
Build Status
Scrutinizer Code Quality
Code Coverage
SensioLabsInsight

This plugin allows you to convert a composer.yaml file into composer.json format.
It will use those exact filenames of your current working directory.

Warning: If you already have a composer.json file, it will overwrite it.

Installation

  1. composer global require webuni/composer-yaml-plugin

Usage

To convert from yaml (composer.yaml or composer.yml) to json (composer.json), run:

  1. $ composer yaml-convert

To convert from json to yaml, run:

  1. $ composer yaml-convert composer.json

Alternatives

License

MIT License. See the LICENSE file.