DrupalCon Seattle 2019: Generating Dynamic Drupal Installers

I’ve built a dynamic composer generating library and we use it for commercekickstart.com to generate a custom install file, to keep installs lean and clean. We found with larger all encompassing installs, there was a ton of extra cruft that you got right at the start, so we wanted people to be able to customize their own distribution before even downloading any files. To that end, we generate a dynamic composer.json file, that needs only a `composer install` to be run to generate a full site specific to your custom choices.

The dynamic composer build also allows us to pair with existing distributions and basically add other suites of functionality to them, such as allow adding Commerce to many popular Drupal distributions. I’ll be explaining how this works, as well as how I think it can be utilized in the future for other projects and grander ideas.

At this talk you should learn about generating dynamic composer files for distributions and other custom installs. A working knowledge of composer is recommended, I won’t be covering composer basics.

https://www.commercekickstart.com/

https://github.com/smmccabe/accompanist

Drupal is a registered trademark of Dries Buytaert.