Saturday 18 February 2012

Composer - Package Management for PHP

Composer - Package Management for PHP

Composer is a package manager tracking local dependencies of your projects and libraries.
See the about page on packagist.org for more information.
Build Status

Installation / Usage

  1. Download the composer.phar executable or use the installer.
    $ curl -s http://getcomposer.org/installer | php
    
  2. Create a composer.json defining your dependencies. Note that this example is a short version for applications that are not meant to be published as packages themselves. To create libraries/packages please read the guidelines.
    {
        "require": {
            "monolog/monolog": ">=1.0.0"
        }
    }
    
  3. Run Composer: php composer.phar install
  4. Browse for more packages on Packagist.





     https://github.com/composer/composer
http://packagist.org/

No comments:

Post a Comment