This plugin allows you to convert a composer.neon 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.
composer global require webuni/composer-neon-plugin
To convert from neon (composer.neon
) to json (composer.json
), run:
$ composer neon-convert
To convert from json to neon, run:
$ composer neon-convert composer.json
MIT License. See the LICENSE file.