Wrapper to composer for Symfony2 projects, based on an easier to use YAML file.
compy is a wrapper to
composer for Symfony2 projects, based on an
easier to use YAML file.
You can use
compy just like
composer, except you modify the
compy.yml, instead of the
alice@acme$ bin/compy --version Compy version 0.1.6 Composer version aa1c093
You should only run
compy from the directory your
The YAML format is easier to read, easier to write and allows you to add comments, like in the following snippet:
license: MIT require: symfony/yaml: '>=2.0' # This is a comment symfony/console: '>=2.0' composer/composer: dev-master
This is especially useful in large projects with complex dependencies.
When run the first time,
compy converts automatically any composer.json present.
If you modify your
compy will automatically notice
it when you invoke it, and convert it to
compy backs up
compy.yml~compy~, before any change is made.
System-wide installation is not supported at the moment.
You can install
compy in your project by copying files by hand, or through
require the package
composer require rev22/compy:dev-master
now you can use compy from the 'vendor/bin/' directory:
user> vendor/bin/compy --version
- copy the contents of the
bin/directory from this code archive to your symfony project's
- add a dependency to
- make sure the composer tool is installed system-wide
compy is available under the terms of a MIT-style license.
Please consult the file LICENSE for details.
compy script was brought to you by Michele Bini.
The package includes Oleg Stepura's
convert-config tool, which was forked from Igor Wiedler's