Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This project provides a toolkit for developers to create custom, recipe-based Drupal installers. It allows for easy customization of which recipes are visible or mandatory, post-installation redirects, and the installer's appearance and feel, without requiring complex custom PHP code. Install profiles generated with this kit are standalone and do not depend on the Drupal CMS itself.

If you thought the Drupal CMS installer was really slick, you might have wondered how to adapt it for your own nefarious purposes.

This package is a toolkit to create standalone install profiles that work the same way the Drupal CMS installer does -- installing Drupal by applying a bunch of recipes. But you can easily customize the stuff that really matters:

  • Which recipes are shown to users at the beginning
  • Which recipes are always applied
  • Where users should be redirected afterwards
  • How the installer looks and feels
  • Which annoying post-install messages to hide

This is for developers who want a better, recipe-based installer experience, but don't want to write a pile of complicated PHP code to bend the Drupal installer to their will.

The Drupal CMS installer is built on top of this toolkit, but install profiles generated by this package don't depend on Drupal CMS; they'll work with any flavor of Drupal.

How to use

  1. Require this package into your project: composer require drupal/recipe_installer_kit
  2. Use Drush to generate a stub install profile: drush generate recipe-kit:installer --destination=profiles/SOME_MACHINE_NAME
  3. Go to the profile's directory and customize the SOME_MACHINE_NAME.info.yml file to your liking.

To change the look and feel, create a new theme -- just a regular old theme -- in a subdirectory of the profile, and add this to the profile's info file:

distribution:
  install:
    theme: MACHINE_NAME_OF_THEME

For an example, see Drupal CMS's project template.

Note that you could use any theme which is available in the code base; it doesn't have to live inside the install profile. But if you're going to create a custom theme for the installer, it sorta makes sense to bundle that with the profile, don't you think?

Activity

Total releases
14
First release
Feb 2025
Latest release
5 months ago
Releases (12 mo)
7
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.0.4 Stable Jan 24, 2026
1.0.3 Stable Jan 24, 2026
1.0.2 Stable Jan 23, 2026
1.0.1 Stable Dec 25, 2025
1.0.0 Stable Nov 28, 2025
1.0.0-alpha8 Pre-release Oct 9, 2025
1.0.0-alpha7 Pre-release Aug 17, 2025
1.0.0-alpha6 Pre-release Jun 11, 2025
1.0.0-alpha5 Pre-release Jun 11, 2025
1.0.0-alpha4 Pre-release May 13, 2025
1.0.0-alpha3 Pre-release Feb 19, 2025
1.0.0-alpha2 Pre-release Feb 6, 2025
1.0.0-alpha1 Pre-release Feb 5, 2025
1.x-dev Dev Feb 4, 2025