Drupal Recipes Logo

This project is not covered by Drupal’s security advisory policy.

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 -v

For example:

php core/scripts/drupal recipe core/recipes/standard -v

If you are using Drush 13 and above, you can use:

drush recipe path/to/recipe

For 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:

Drupal Recipe Author Guide

Do you have a recipe you would love to share? Or are you looking for inspiration from other people's recipes?  Check out:

Browse recipes on Drupal.org

Drupal Recipes Cookbook

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.

Supporting organizations: 
Sponsor development time

Project information

  • Created by alexpott on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases