1-3 March 2019

City, University London

Compose your Drupal website

Prerequisites
  • Basic site building knowledge
  • Basic terminal usage (e.g. using drush)
Session details

Composer is a dependency manager for PHP written along the lines of npm (for Node.js) or Bundler (for Ruby). While this might not sound useful to you as a site builder, it will be. Composer is already a defacto standard to use when building PHP applications and now Drupal websites.

Composer was introduced in Drupal world with Drupal 8 and with Drupal 8.1, the core development moved to the accepted composer workflow. At the time, Drupal Packagist was a purely community run service but it is now fully supported by Drupal Association on official Drupal.org infrastructure making Composer the best way to manage your website build now.

In this session, you will learn how Composer workflow helps you in building and maintaining websites with relative use. It might sound intimidating and lot of work at first, not to mention you need to use the terminal, but didn’t you fall in love with drush once you used it? You will learn how to use composer with existing templates and some helpful commands and tools to get you started quickly.

Specifically, you will learn:

  • What composer is and how to use it to build a Drupal 8 website
  • The role of Packagist in composer and also the Drupal packagist supported by Drupal Association
  • Drupal Packagist templates to quickly start with a Drupal 8 website project
  • Best practices in structuring a Drupal 8 website, modules, themes, libraries, profiles, all contributed or custom
  • Best practices in version controlling the website
  • Best practices in using composer in continuous integration environment
  • Patching Drupal core, modules, themes, and profiles
  • Including composer.json from custom modules, if any
  • How to understand common composer errors and fix them
  • Common tools to work with composer
Speaker(s)
Skill Level
Session Track

Keynote speakers

Preston So

Acquia

TBC

Sally Young

Lullabot / Drupalize.me

Drupal apprentices

The best people to train new developers are developers

The Drupal Apprenticeship Scheme will be running a London intake in March. If you are interested in hiring an apprentice or know someone who would benefit from the scheme please get in touch via the link below.

  • Created and run by experienced developers
  • Teaches core skills and best practice
  • Extensive support for businesses and teams

We are also really keen to hear from people who might be interested in mentoring, training and helping us to develop and review training materials to make sure they stay absolutely current and relevant.

Find out more

Join the Drupal Association

The Drupal Association unites a global open source community to build and promote Drupal.

The Association is a not-for-profit organization that relies on individuals and businesses to fund everything they do for Drupal — from drupal.org to DrupalCon and community programs.

Connect with us and support our mission-driven work.

Support the Drupal Association

Hosting provided by

platform.sh