Demystifying Composer

Feb 03, 2019

David Hernandez

We've started embracing the world of Composer, the PHP dependency manager. However, it has become one of the biggest pain points reported by Drupal 8 developers. Once using Composer with Drupal, you can no longer simply download zip files to manage your project.

I will go over Composer basics; starting from scratch, and going step-by-step through a full project build. I will also go over why this has been so difficult with Drupal.

This will cover many of the topics and steps in a tutorial I've posted on Github.

Topics this will include:

Composer.json and composer.lock files
Adding dependencies and development dependencies
Adding repositories
Managing version numbers
Scaffolding and scripts
Using the create-project command
Who Should Attend
Back-end Developers
Front-end Developers
Site Builders
Sys Admins
This is beginner level information, but one should be familiar with Drupal 8 folder structures and basic command line usage. Familiarity reading JSON files will also help.

Hi! I'm Karim Boudjema, the developer and site-builder of this site.

I was wondering how could I giving back to the Drupal community all what it gave to me during the last 10 years, that's how the idea of this site came to me ... (read more)

Hi! I’m Santiago Rico, the web designer and themer of this site.

When Karim proposed me to design and theme this site for the Drupal community, I accepted immediately because the community is the main reason why I love Drupal so much.