Recipes Initiative
No security coverageThis project contains documentation and development code for Drupal's Strategic Recipes initiative. Recipes, now included as experimental APIs in Drupal core, allow for the installation and management of pre-defined configurations and content sets. This simplifies setting up Drupal for various use cases and enables the creation and sharing of custom recipe packages.
This project exists to hold documentation and development code from the Drupal core Strategic Recipes initiative.
The following Recipes Initiative APIs have been added to core as experimental in 10.3 and above.
- Drupal\Core\Config\Action
- Drupal\Core\Config\Checkpoint
- Drupal\Core\Recipe
- Drupal\Core\DefaultContent
You no longer need to patch Drupal for Recipes if you are using Drupal 10.3+ or 11.
Applying recipes
Recipes can be applied using the provided CLI command, which should be run from your webroot, typically /web or /docroot.
php core/scripts/drupal recipe PATH/TO/RECIPE -vFor example:
php core/scripts/drupal recipe core/recipes/standard -vIf you are using Drush 13 and above, you can use:
drush recipe path/to/recipeFor more detailed documentation on how recipes work, please visit:
Recipe Developer Documentation.
Creating and sharing recipes
If you are interested in learning how to create your recipes, please visit:
Do you have a recipe you would love to share? Or are you looking for inspiration from other people's recipes? Check out:
Give feedback and join the conversation!
Join the conversation in the #recipes channel of the Drupal Slack.
Contributing to the Recipes Initiative
Now that Recipes are in core, all issues have been moved to core or contrib module projects. Please create issues there, and tag them with the "Recipes initiative" tag.
Ask your assistant about Recipes Initiative
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.
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 10.3.x-dev | Dev | Mar 6, 2024 | |||
| 11.x-dev | Dev | Dec 14, 2023 | |||
| 10.2.x-dev | Dev | Nov 7, 2023 |