Tool to convert from composer.yml to composer.json.
Download yaml-convert.phar (latest master)
this project is a fork of https://github.com/igorw/composer-yaml which looks abandoned. the purpose is still the same,
yaml-convert.phar allows you to convert a
composer.yaml file into
CHANGELOG.md for the detailed differences to the original project. the main differences are:
- support for
- example scripts to use
- downloadable phar file
convert(this is now the default function)
Warning: If you already have a composer.json file, it will overwrite it.
To convert from yaml to json, run:
$ php yaml-convert.phar
To convert from json to yaml, run:
$ php yaml-convert.phar composer.json composer.yaml