Package Manager: Powering Automatic Updates and Project Browser to Drupal's easy Composer future
summary
Package Manager provides an API-only Drupal module that runs Composer commands in a staged copy via the PHP library composer-stager, letting Automatic Updates and Project Browser install and update projects through the UI without manual Composer work. It stages with four phases (create, require, apply, destroy), briefly puts the site in maintenance mode, enforces lockfile checks, prevents insecure or conflicting installs, and supports composer patches; the contrib release is 8.x-2.7 stable. Limitations: requires a writable filesystem, is not VC-aware, lacks multisite support, and has symlink issues on Windows.
AI-written summary · about
chapters (13)
- 0:00Introduction to Package Manager
- 1:14Automatic Updates Initiative
- 5:38Project Browser Initiative
- 7:46Package Manager Core Role
- 8:50Composer Stager Overview
- 10:35Update Process Demo
- 12:20Package Manager Safeguards
- 15:48Event System and Locking
- 20:05Life Cycle and Validation
- 23:54Production vs Dev Use Cases
- 29:10System Requirements
- 34:46Custom Module Examples
- 36:53Q&A and Next Steps








