Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/igorw/composer-yaml
Tool to convert from composer.yml to composer.json.
https://github.com/igorw/composer-yaml
Last synced: 25 days ago
JSON representation
Tool to convert from composer.yml to composer.json.
- Host: GitHub
- URL: https://github.com/igorw/composer-yaml
- Owner: igorw
- License: mit
- Created: 2012-03-11T21:32:58.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2017-02-03T21:32:59.000Z (almost 8 years ago)
- Last Synced: 2024-08-25T03:52:00.854Z (3 months ago)
- Language: PHP
- Homepage:
- Size: 528 KB
- Stars: 57
- Watchers: 4
- Forks: 15
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-composer - Composer-Yaml - This tool converts `composer.yml` to `composer.json`. (Tools / Support)
README
# composer-yaml
This project allows you to convert a composer.yml 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
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar install## Build Phar package
$ curl -s http://box-project.org/installer.php | php
$ php box.phar build## Usage
To convert from yaml to json, run:
$ bin/composer-yaml convert
To convert from json to yaml, run:
$ bin/composer-yaml convert composer.json composer.yml
Alternatively, you can use the phar package to execute the same command using
$ php composer-yaml.phar [command]