2017 © Pedro Peláez
 

library compy

Wrapper to composer for Symfony2 projects, based on an easier to use YAML file.

image

rev22/compy

Wrapper to composer for Symfony2 projects, based on an easier to use YAML file.

  • Friday, May 3, 2013
  • by rev22
  • Repository
  • 1 Watchers
  • 2 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 15 Forks
  • 0 Open issues
  • 10 Versions
  • 0 % Grown

The README.md

compy is a wrapper to composer for Symfony2 projects, based on an easier to use YAML file., (*1)

Usage

You can use compy just like composer, except you modify the compy.yml, instead of the composer.json:, (*2)

alice@acme$ bin/compy --version
Compy version 0.1.6
Composer version aa1c093

You should only run compy from the directory your compy.yml or composer.json are., (*3)

Your compy.yml

The YAML format is easier to read, easier to write and allows you to add comments, like in the following snippet:, (*4)

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., (*5)

(Automatic) Configuration

When run the first time, compy converts automatically any composer.json present. If you modify your composer.json, compy will automatically notice it when you invoke it, and convert it to compy.yml. compy backs up your compy.yml to compy.yml~compy~, before any change is made., (*6)

Installation

System-wide installation is not supported at the moment., (*7)

You can install compy in your project by copying files by hand, or through composer:, (*8)

installing via composer

  1. require the package rev22/compy via composer, (*9)

    composer require rev22/compy:dev-master
  2. now you can use compy from the 'vendor/bin/' directory:, (*10)

    user> vendor/bin/compy --version

copying files by hand:

  1. copy the contents of the bin/ directory from this code archive to your symfony project's bin/ or app/ directory;
  2. add a dependency to composer/composer in your composer.json and run composer install
  3. make sure the composer tool is installed system-wide

License

compy is available under the terms of a MIT-style license. Please consult the file LICENSE for details., (*11)

History of the tool

The 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 composer-yaml., (*12)

The Versions

03/05 2013

dev-master

9999999-dev

Wrapper to composer for Symfony2 projects, based on an easier to use YAML file.

  Sources   Download

MIT

The Requires

 

04/03 2013

0.1.8

0.1.8.0

Wrapper to composer for Symfony2 projects, based on an easier to use YAML file.

  Sources   Download

MIT

The Requires

 

16/02 2013

0.1.7

0.1.7.0

Wrapper to composer for Symfony2 projects, based on an easier to use YAML file.

  Sources   Download

MIT

The Requires

 

15/02 2013

0.1.6

0.1.6.0

Wrapper to composer for Symfony2 projects, based on an easier to use YAML file.

  Sources   Download

MIT

The Requires

 

14/02 2013

0.1.5

0.1.5.0

Wrapper to composer for Symfony2 projects, based on an easier to use YAML file.

  Sources   Download

MIT

The Requires

 

14/02 2013

0.1.4

0.1.4.0

Wrapper to composer for Symfony2 projects, based on an easier to use YAML file.

  Sources   Download

MIT

The Requires

 

14/02 2013

0.1.2

0.1.2.0

Wrapper to composer for Symfony2 projects, based on an easier to use YAML file.

  Sources   Download

MIT

The Requires

 

14/02 2013

0.1.1

0.1.1.0

Wrapper to composer for Symfony2 projects, using an easier to use YAML file.

  Sources   Download

MIT

The Requires

 

14/02 2013

0.1.0

0.1.0.0

Wrapper to composer for Symfony2 projects, using an easier to use YAML file.

  Sources   Download

MIT

The Requires

 

10/02 2013

dev-convert-config

dev-convert-config

Convert configuration files between different formats (yaml, json, php)

  Sources   Download

MIT

The Requires