PHP Packages as Drupal Extensions
29 Sep 2026, 11:30 am (UTC)
45 Minutes
Speakers
Drupal extensions such as modules, themes and profiles extend Drupal through hooks, event subscribers and services, but they must be installed before they can be used. The proposed approach makes Drupal extensions available when they exist in the codebase: requiring a package with Composer would make its provided Drush command available before the Drupal site is installed.
These package extensions would need to be stateless, without install, update or schema hooks. Adding components through settings.php can already achieve a similar result, but the approach is described as difficult to scale and use. The session develops the package-extension idea and its restrictions.