webuni/composer-yaml-plugin

Composer plugin to convert a composer.yaml to json or vice-versa.

Installs: 1 368

Dependents: 0

Suggesters: 0

Security: 0

Stars: 6

Watchers: 4

Forks: 1

Open Issues: 1

Type:composer-plugin

2.1.0 2018-01-02 10:04 UTC

This package is auto-updated.

Last update: 2024-12-05 04:10:00 UTC


README

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

composer global require webuni/composer-yaml-plugin 

Usage

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

$ composer yaml-convert

To convert from json to yaml, run:

$ composer yaml-convert composer.json

Alternatives

License

MIT License. See the LICENSE file.