webuni / composer-neon-plugin
Composer plugin to convert a composer.neon to json or vice-versa.
Installs: 1 281
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 1
Type:composer-plugin
Requires
- php: ^5.5 || ^7.0
- composer-plugin-api: ^1.0
- nette/neon: ^2.2 || ^3.0
Requires (Dev)
- composer/composer: ^1.1
- friendsofphp/php-cs-fixer: ^2.0
- phpunit/phpunit: ^4.8 || ^5.4 || ^6.0
- symfony/var-dumper: ^3.0
This package is auto-updated.
Last update: 2024-11-05 03:47:47 UTC
README
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.
Installation
composer global require webuni/composer-neon-plugin
Usage
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
Alternatives
License
MIT License. See the LICENSE file.