Show composer installation command on Drupal.org project pages for Recipes

Created on 17 February 2025, 2 months ago

Problem/Motivation

Currently, Drupal.org project pages for Recipe projects (e.g., Events Calendar, Drupal CMS AI) do not display the Composer command needed to install them.

However, Recipes can be installed via Composer using:
composer require [recipe_name]
For example: composer require drupal_cms_ai

Since Composer is the recommended way to install Recipes, it would be helpful if Drupal.org automatically displayed the correct installation command on the project page—similar to how it does for modules and themes.

This would improve discoverability and ease of installation for users.

Relevant Slack discussion: Slack thread

Would it be possible to update the project pages to include this information?

Steps to reproduce

Visit any recipe page on Drupal.org e.g: https://www.drupal.org/project/events_registration

Proposed resolution

Provide the composer command on the project page.

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

11.0

Component

Code

Created by

🇮🇳India prashant.c Dharamshala

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024