Composer and Drupal: Past, Present and Future
summary
Composer in Core Initiative makes Drupal tarballs Composer-ready, removes the old wikimedia/composer-merge-plugin approach and adds a core scaffolding plugin plus generated meta packages like the Drupal core recommended meta-package. New templates (recommended and legacy) produce a relocated web root and vendor split, scaffold files are copied with append/remove support, and meta packages regenerate on composer.json changes. Tarball generation via composer create-project is in place though CI race conditions still delay full rollout. drush pm:update remains supported and conversion tooling exists for older sites.
AI-written summary · about
chapters (32)
- 0:00Intro
- 0:42TOPICS
- 2:39Project Page
- 3:09Goals
- 9:03Composer Merge Plugin and Core
- 9:33File Layout with Merge Plugin
- 9:52Composer require with Merge Plugin
- 10:16Composer update with Merge Plugin
- 10:34Drush pm-update with Merge Plugin
- 10:58Upgrade Woes
- 11:24One Weird Trick To Use Composer and Drupal Downloads Together
- 12:32drupal/recommended-project
- 13:35drupal/legacy-project
- 14:16The New Way to Scaffold
- 15:18Enabling Scaffolding
- 16:05Declaring Scaffold Files in Core
- 16:54Appending to a Scaffold File
- 17:57Removing a Scaffold File
- 19:20Artifact Generation
- 20:33Metapackage Generators
- 22:13Subtree Splitter
- 22:51Archive Packager
- 23:09Drupal 18.8 Contemporary Package Relationships
- 24:46drupal/core-recommended Exact dependencies from drupal/drupal composer lock
- 25:17drupal/core-dev Same version constraints as drupal/drupal composer.json
- 25:54Drupal 18.7 Legacy Adapter Package drupal/legacy-scaffold-assets
- 27:27drupal/legacy-scaffold-assets Contemporary scaffold assets for legacy Drupal versions
- 27:45drupal/core-dev-pinned Only for use by download archive generation!
- 29:05Converting Non-Composer Sites
- 30:24Converting drupal-project Sites
- 32:43Core Development in Drupal 9
- 36:12Differences in composer.json in 9.x
related talks
01h 07mTaking Maximum Advantage of Drupal Core's Composer Template
01h 04mDemystifying Composer
48mThe Composer Workflow
46mExploring composer in drupal 8
40mGoodbye Drush Make. Hello Composer!
01h 04mImproving your Drupal 8 development workflow
45mPackage Manager: Powering Automatic Updates and Project Browser to Drupal's easy Composer future
46mComposer Best Practices 2018
