Dependency Management in Drupal 8

Any Drupal project may have tons of dependencies. There are the contributed modules, there are JavaScript libraries, and other "add-ons". In fact, Drupal itself can be considered a dependency. We require these these things to build on when we're customizing our site with additional items, such as custom modules and themes. Of course, we can download all of these dependencies fairly easily when we're first building up our site, but when it comes to managing updates...well, that can become a bit of a headache.

In this session, we'll look at a few package management tools, including Composer, Node.js and Bower to see how we can better manage our code. We'll also look at how this fits into version control and discuss exactly what should be committed to your repo and what should be managed by these package management tools. Lastly, we'll take a quick look at the implications for automated deployments.

Speaker(s): 
Session Track: 
Code + Develop
Experience level: 
Intermediate