This project is not covered by Drupal’s security advisory policy.
If you want to use this module, your options are:
- Choose another, actively maintained module instead
- Following the unsupported project process.
- Hire someone to fix the security bug so the module can be re-published and supported (Consider hiring companies listed in the Marketplace)
Composer is a PHP package management tool to help manage your project or libraries' dependencies. This project allows use of Composer from Drush.
Installation
drush dl composer-8
Manual
git clone --branch 8.x-1.x http://git.drupal.org/project/composer.git ~/.drush/composer
Since this is Drush extension that works across all versions of Drush, it doesn't need a different release for each different Drupal version. Hence this just being an 8.x project.
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.
drush composer create-project symfony/symfony- Downloads the symfony/symfony project and all its dependencies.
Modules
This is a list of some of the Drupal modules that integrate with Composer.
- Composer Manager
- Provides a user interface to let you know when you should update your dependencies, along with a single library space and autoloader.
- Composer Autoload
- This module automatically loads all autoload.php files and cache them appropriately.
- Composer Vendor
- Similar to Composer Autoload, but expects your vendor code to be at sites/all/vendor.
- Symfony module
- An example of a Drupal module using Composer for its external dependencies.
- Git Wrapper
- Allows integration with a Git repository.
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.*"
}
}
See Packagist for a repository of available packages to install and depend on.
Project information
Unsupported
Not supported (i.e. abandoned), and no longer being developed. Learn more about dealing with unsupported (abandoned) projectsNo further development
No longer developed by its maintainers.- Project categories: Developer tools
- Created by brynbellomy on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.

