O'Reilly logo

Drupal 8: Enterprise Web Development by Chaz Chumley, Matt Glaman, Richard Jones, Nick Abbott

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Composer manager

Drupal 8 has an interesting predicament. It utilizes third-party PHP libraries Proudly Built Elsewhere that are managed through Composer. However, the packages managed by Composer are committed into version control and Composer is (as of 8.0.x) not part of the Drupal build or installation process.

The Composer manager module provides a way to fully support a Composer-based workflow when working with Drupal. Drupal Commerce requires a Composer-based workflow because it uses third-party PHP libraries. In this recipe, we will examine the Drupal Commerce composer.json file and install the module.

Note

Ideally, future versions of Drupal, such as 8.1.x or 8.2.x, will remove the need for the Composer manager and the previous recipe ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required