Recipe Code Installer by Pronovix Enables Custom Module Bundling in Drupal Recipes

Recipe Code Installer by Pronovix Enables Custom Module Bundling in Drupal Recipes

A new tool, Recipe Code Installer, is streamlining the way Drupal developers deliver and manage custom functionality within the framework’s Recipes system. Developed and maintained by Pronovix, this module extends the capabilities of Drupal Recipes by allowing them to bundle and install custom module code directly into a project’s codebase.

Traditionally, Drupal Recipes were limited to configuration tasks, unable to include their own executable code. Any required functionality had to be packaged as a separate module, managed independently, and installed via Composer. This dual-package model increased maintenance complexity and created dependency issues for both developers and site owners.

Recipe Code Installer addresses this limitation by enabling Recipes to contain a `code` subdirectory with a custom module. When the Recipe is applied, the Installer moves this code to the project’s custom module directory and installs it using Drupal’s standard module installation process. The result is a seamless transition from declarative configuration to executable functionality without relying on external packages.

The module is fully compatible with Drupal 10.3 and later, leveraging the core Recipe API. It listens for the `\Drupal\Core\Recipe\RecipeAppliedEvent` event to execute the installation step, allowing smooth integration even when used alongside tools like the Recipe Unpack Composer plugin.

For Recipe creators, this simplifies development by packaging code and configuration together. It removes the need for separate hosting or semantic versioning, making the Recipe easier to maintain. For adopters, it grants full ownership of the bundled code, avoiding external dependencies that could introduce security risks or block major upgrades.

Common use cases include project-specific features, reusable agency components, and integration bridges requiring minimal custom logic. To support iterative development, Recipe Code Installer also offers a development mode. When enabled, it symlinks the bundled module code, reflecting changes immediately without reapplying the Recipe, a feature intended for development environments only.

For more information and a full breakdown of its features, use cases, and implementation best practices, visit the full article: Recipe Code Installer: Bridging the gap between configuration and functionality.

Source Reference

Date of Publication
Organization

Note: The vision of this web portal is to help promote news and stories around the Drupal community and promote and celebrate the people and organizations in the community. We strive to create and distribute our content based on these content policy. If you see any omission/variation on this please reach out to us at #thedroptimes channel on Drupal Slack and we will try to address the issue as best we can.

Related Organizations

Upcoming Events

Latest Opportunities