Recipe Installer Kit
Security coveredPart of the Recipe ecosystem · 9 projects
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?
Ask your assistant about Recipe Installer Kit
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
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.
More in the Recipe ecosystem
Most installed first
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 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 |