sloanlance / composery
Composery: A Composer wrapper to read its configuration from a YAML file, composer.yml.
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/sloanlance/composery
Requires
- php: ^5.3.3 || ^7.0
This package is auto-updated.
Last update: 2025-09-23 05:37:52 UTC
README
A Composer wrapper to read its configuration from a YAML file, composer.yml.
⚠️ Note:
This package is still in the very early stages of development.
Don't be disappointed by its lack of substance.
Why‽
- Comments can't be added to composer.json because JSON doesn't allow comments.
- YAML allows comments.
- Bidirectional conversion between YAML and JSON is easy and reliable. (Except for the loss of YAML comments.)
- If loss of fidelity between between YAML and JSON is a concern, fret not. YAML can contain JSON and still allow comments.
- The igorw/composer-yaml project good, but it only converts composer.yml to composer.json. It doesn't run Composer using the new composer.json file, though.
- In contrast, Composery will:
- Convert composer.yml to composer.json.
- Run composer using the new composer.json.
- By default, delete composer.json before exiting.
- Optionally keep composer.json when exiting, which is useful for debugging or distribution.