Composer Logo

Composer is a PHP package management tool to help manage your project or libraries' dependencies. This project is a Drush wrapper to expose easy use of Composer via Drush.

Installation

drush dl composer

Usage

drush composer
Lists all available Composer commands.
drush composer install
Parses composer.json, and installs all dependencies
drush composer update
Updates your dependencies to the latest version, and updates cached information.
drush composer init
Walk through a wizard to create your own composer.json file.

Example

The following is an example of a composer.json file that will download the latest in the 1.0.* branch of Monolog...

{
    "require": {
        "monolog/monolog": "1.0.*"
    }
}

Downloads

Version Downloads Date Links
7.x-1.x-dev tar.gz (7.63 KB) | zip (7.89 KB) 2012-Feb-07 Notes

Project Information