2017 © Pedro Peláez
 

library composery

Composery: A Composer wrapper to read its configuration from a YAML file, composer.yml.

image

sloanlance/composery

Composery: A Composer wrapper to read its configuration from a YAML file, composer.yml.

  • Friday, November 3, 2017
  • by sloanlance
  • Repository
  • 1 Watchers
  • 1 Stars
  • 0 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Composery

A Composer wrapper to read its configuration from a YAML file, composer.yml., (*1)


⚠️  Note:

    This package is still in the very early stages of development., (*2)

> > >     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.

The Versions

03/11 2017

dev-master

9999999-dev

Composery: A Composer wrapper to read its configuration from a YAML file, composer.yml.

  Sources   Download

The Requires

  • php ^5.3.3 || ^7.0