Recipe Installer Kit
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
- Require this package into your project:
composer require drupal/recipe_installer_kit - Use Drush to generate a stub install profile:
drush generate recipe-kit:installer --destination=profiles/SOME_MACHINE_NAME - Go to the profile's directory and customize the
SOME_MACHINE_NAME.info.ymlfile 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?
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.4 | Stable | Hotfixes a bad return type hint. | Jan 24, 2026 | ||
| 1.0.3 | Stable | Added a base class for early-installer form alteration. | Jan 24, 2026 | ||
| 1.0.2 | Stable | Fixed bugs and added support for core's recipes. | Jan 23, 2026 | ||
| 1.0.1 | Stable | Fixed a bug when installing in a language other than English. | Dec 25, 2025 | ||
| 1.0.0 | Stable | First stable release, and a couple of small bug fixes. | Nov 28, 2025 | ||
| 1.0.0-alpha8 | Pre-release | Adds support for site templates. | Oct 9, 2025 | ||
| 1.0.0-alpha7 | Pre-release | Bug fixes, site template capability, and better multilingual support. | Aug 17, 2025 | ||
| 1.0.0-alpha6 | Pre-release | Fixed a critical regression introduced by 1.0.0-alpha5. | Jun 11, 2025 | ||
| 1.0.0-alpha5 | Pre-release | One reverted bug fix, and some useful new features! | Jun 11, 2025 | ||
| 1.0.0-alpha4 | Pre-release | Fixed a bug, and compatibility with recipe unpacking. | May 13, 2025 | ||
| 1.0.0-alpha3 | Pre-release | One bug fix, one minor improvement. | Feb 19, 2025 | ||
| 1.0.0-alpha2 | Pre-release | Fixed a bug that would break the installer if you chose no extra recipes. | Feb 6, 2025 | ||
| 1.0.0-alpha1 | Pre-release | Initial alpha release. | Feb 5, 2025 | ||
| 1.x-dev | Dev | Development snapshot of the 1.x branch. | Feb 4, 2025 |