Topic
Last updated November 6, 2017

Figuring out how to use the Composer package manager to handle your project's dependencies can be a bit tricky. Using the Drupal Composer Project as a starting point provides you with an opinionated (and Drupal-aware) starting point. This project provides help with many of the common initial project setup tasks including the installation of tools like Drush and Drupal Console, as well as setting the correct file permissions required to actually install Drupal.

Example tasks

  • Use a common scaffold tool for new project setup
  • Leverage Composer to manage all of the dependencies of the codebase
  • Start each new project with the most recent Drush and Drupal Console versions ready to go
  • Manage the Drupal core update process more easily

Confidence

The approach taken by this project is an established best practice in the larger PHP development community, but its adoption in the Drupal community is still emerging.

Drupalize.Me resources

We are still filling out our Drupal 8 library and this page will be updated with new tutorials as they are created.

  • Composer topic
    • This landing page helps explain why you want to use Composer to manage your project's codebase.

More Guides

We have guides on many Drupal skills and topics.

Explore guides

External resources

  • Drupal Composer Project (github.com)
    • This is the actual repository you can use to get started with a project. The README.md file is an excellent starting point.