Drupal Composer Project

  1. Drupal Composer Recommended Project
  2. Drupal Composer Create Project

Discussions
in Drupal Group

  • Packages on drupal.org. The former Drupal Packagist has deprecated. It is now replaced by the official composer repository packages.drupal.org.
  • Drupal 8.6.0 is released Developer B clones the Git project, and installs the codebase using composer install. The composer.lock file lists the version of Drupal core being used on the project as 8.5.6, so it downloads that version. Developer A sees that a new version of Drupal has been released.
  • I am a Drupal site builder experimenting with WSL2 and I am finding the routine creating a Drupal project with composer does not complete. My PC has 16GB RAM and composer is allowed unlimited memor.

On groups.drupal.org/composer general communication takes place. It is good starting point for checking out the current progress.

Packages
on drupal.org

The former Drupal Packagist has deprecated. It is now replaced by the official composer repository packages.drupal.org

Source Code
on Github

Composer update drupal/module -with-dependencies To update all packages, run the following command: composer update After you run the command, be sure to commit your composer.json and composer.lock files. Removing dependencies. To remove a package from your project, use the composer remove command, replacing module with the module you want.

We are hosting the source code for Drupal Packagist and some other components on github.com/drupal-composer. Feel free to join the projects, file issues and send pull requests.

Getting Started

For a kickstart in setting up a composer based Drupal project, have a look at drupal-composer/drupal-project on github.

Drupal Composer ProjectComposer

Drupal Projects

Drupal Composer Create Project

There are already some drupal projects available dealing with different aspects of Composer in Drupal.