Install

Works with Drupal: 8.x

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 19.08 KB
MD5: 42caba4bdf6bc03cda353a3d3e6f7c44
SHA-1: 07768c0a6e97f4d00523819382b327889b32d6ea
SHA-256: c3570fa09819f08c5cf289ffe7f49dbfcead886d04aaf2277307cfd7e2c5ac5c
Download zip 29.1 KB
MD5: 1f437f61eeddaea7dee0993f9a51d308
SHA-1: 801fcc1779ba15110d4318ec1ed60473944dc4ad
SHA-256: e8233842997a768990d44a708ac309317a3c7881f503b2eda8abbbd72033b505

Release notes

This release is a complete rewrite. See the blog post for the background, and the new documentation for usage instructions.

Requires D8 beta6 or newer.

Changes since 8.x-1.0-alpha8:

  • Skip extension packages without a name.
  • #2412957: composer.json in install profile is not included
  • #2409011 by jbrown: Move Status of Packages from Configuration to Reports?
  • Add a separate 'composer drupal-rebuild' command which only rebuilds composer.json
  • Fix 'composer drupal-update' bug when the command is invoked with an option before the command name.
  • Use the package names for the generated '_sources' field.
  • Replace camelCase method arguments with snake_case method arguments, matching the core style.
  • #2209089: Resolve the prefer-stable property
  • Clean up the property gathering and resolving in RootPackageBuilder to make it easier to collect additional properties in the future.
  • Increase PackageManagerTest and RootPackageBuilderTest coverage.
  • Update for core issue #2401607.
  • Allow for the SKIP_COMPOSER_UPDATE environment variable to skip 'composer drupal-update' after drush dl.
  • Add a new README that points to documentation on drupal.org
  • Add a unit test for ExtensionDiscovery.
  • Fix PackageManager to take the package constraint from the dependent package requirement, if available.
  • Fix core detection in PackageController::buildRequiredVersion() broken by #1975220.
  • Ensure better code coverage reporting by adding additional @covers annotations to the tests.
  • Add a unit test for the PackageManager.
  • Make sure PackageManager::processRequiredPackages() adds default values first, to prevent notices when determining dependent packages.
  • Add a unit test for the RootPackageBuilder.
  • Run 'composer drupal-update' automatically after 'drush dl'.
  • Update for core issue #1975220 which has moved core's composer.json.
  • Improve filepath handling in init.sh find_root() and PackageManager::getExtensionPackages().
  • #2212983: Show the packages that dependencies are required by instead of the generic "Dependency for other packages" message
  • #2209087: Add information about how and when composer.json was generated to the extra property
  • RootPackageBuilder should skip extension packages that don't have requirements.
  • #2350639: Rewrite 8.x-1.x.
Created by: bojanz
Created on: 28 Jan 2015 at 17:29 UTC
Last updated: 22 May 2015 at 21:23 UTC
Bug fixes
New features
Unsupported

Other releases