Composer Tools & Frameworks for Drupal

07/24/2015 - 13:00-07/24/2015 - 13:45
Balcony A
Experience level: 
Session Track: 

Code and DevOps

This track is focused on developers and the back-end technologies to deal with today’s and future challenges. With the coming release of Drupal 8, as well as emerging Web technologies, preparation is essential. These sessions will help you learn how to deliver effective solutions to meet these needs.


THIS JUST IN: Slides From Drupal GovCon 2015 Available Here (also attached below)

Composer is the de-facto php dependency management tool of the future.  An ever-increasing number of useful open-source libraries are available for easy use via Packagist, the standard repository manager for Composer.  As more and more Drupal contrib modules begin to depend on external libraries from Packagist, the motivation to use Composer to manage grows stronger; since Drupal 8 Core, and Drush 7 are now also using Composer to manage dependencies, the best way to insure that all of the requirements are resolved correctly is to manage everything from a top-level project composer.json file.

In this session, we will examine the different ways that Composer can be used to manage your project code, and how these new practices will influence how you use Drush and deploy code. The following open source tools will be examined:

Each tool and how they interact will be explained, and differences between Composer usage on Drupal 7 and Drupal 8 will be examined. Once the theoretical foundation is laid, we will show how the Drupal 7 Framework can be used to pull together a collection of these tools to create a local Vagrant-based Drupal 7 development environment. The common workflow of adding a custom module, installing a new module or theme, adding a library, applying a patch, performing updates, and deploying will then be demonstrated.