PHPackages                             drupal/core-project-message - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. drupal/core-project-message

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

drupal/core-project-message
===========================

Adds a message after Composer installation.

11.3.5(1y ago)2122.6M—3.4%320GPL-2.0-or-laterPHPPHP &gt;=7.3.0

Since Nov 4Pushed 1w ago5 watchersCompare

[ Source](https://github.com/drupal/core-project-message)[ Packagist](https://packagist.org/packages/drupal/core-project-message)[ Docs](https://www.drupal.org/project/drupal)[ RSS](/packages/drupal-core-project-message/feed)WikiDiscussions 11.x Synced 1mo ago

READMEChangelogDependencies (2)Versions (348)Used By (20)

The Drupal Project Message Plugin
=================================

[](#the-drupal-project-message-plugin)

Thanks for using this Drupal component.

You can participate in its development on Drupal.org, through our issue system:

You can get the full Drupal repo here:

You can browse the full Drupal repo here:

What does it do?
----------------

[](#what-does-it-do)

This Composer plugin displays a configurable message after Composer installation processes have finished.

This is ideal for a 'next steps' type prompt to help get the user oriented.

Currently only two Composer events are supported:

- post-create-project-cmd, when a `composer create-project` command has finished.
- post-install-cmd, when a `composer install` command has finished.

How do I set it up?
-------------------

[](#how-do-i-set-it-up)

Require this Composer plugin in your project template composer.json file:

```
"require": {
  "drupal/core-project-message": "^8.8"
}

```

### Configuration

[](#configuration)

There are three ways to configure this plugin to output information:

- Using a text file.
- Using composer.json schema keys.
- Embedding the information in the extra section of the composer.json file.

### Using a text file

[](#using-a-text-file)

By default, the plugin will respond to `post-install-cmd` or `post-create-project-cmd` Composer events by looking for a similarly-named file in the root of the project. For instance, if the user issues a `composer create-project` command, when that command is finished, the plugin will look for a file named `post-create-project-cmd-message.txt` and then display it on the command line.

The file should be plain text, with markup suitable for Symfony's `OutputInterface::writeln()` method. See documentation here:

You can also configure your own file(s), using the `extra` section of your composer.json file:

```
"extra": {
  "drupal-core-project-message": {
    "post-create-project-cmd-file": "bespoke/special_file.txt"
  }
}

```

### Using composer.json schema keys

[](#using-composerjson-schema-keys)

You can tell the plugin to output the structured support information from the composer.json file by telling it the keys you wish to display.

Currently, only `name`, `description`, `homepage` and `support` are supported.

```
"extra": {
    "drupal-core-project-message": {
        "include-keys": ["homepage", "support"],
    }
}

```

Then you can include this information in your composer.json file, which you should probably be doing anyway.

### Embedding the information in the extra section

[](#embedding-the-information-in-the-extra-section)

You can specify text directly within the `extra` section by using the `[event-name]-message` key. This message should be an array, with one string for each line:

```
"extra": {
  "drupal-core-project-message": {
    "post-create-project-cmd-message": [
      "Thanks for installing this project.",
      "Read our documentation here: http://example.com/docs"
    ]
  }
}

```

These strings should be plain text, with markup suitable for Symfony's `OutputInterface::writeln()` method. See documentation here:

The `-message` section will always override `-file` for a given event.

###  Health Score

62

—

FairBetter than 99% of packages

Maintenance73

Regular maintenance activity

Popularity57

Moderate usage in the ecosystem

Community31

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 80% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~7 days

Recently: every ~85 days

Total

347

Last Release

131d ago

Major Versions

9.3.6 → 10.0.0-alpha52022-02-24

9.3.22 → 10.1.22022-07-01

10.0.10 → 11.1.0-rc12023-07-24

10.6.x-dev → 11.0.02023-07-24

10.6.0-beta1 → 11.2.02025-02-03

PHP version history (2 changes)8.8.0-rc1PHP &gt;=7.0.8

9.0.0-alpha1PHP &gt;=7.3.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/27288432?v=4)[Drupal Infrastructure](/maintainers/Drupal-Infrastructure)[@Drupal-Infrastructure](https://github.com/Drupal-Infrastructure)

---

Top Contributors

[![alexpott](https://avatars.githubusercontent.com/u/769634?v=4)](https://github.com/alexpott "alexpott (4 commits)")[![goba](https://avatars.githubusercontent.com/u/235185?v=4)](https://github.com/goba "goba (1 commits)")

---

Tags

drupal

### Embed Badge

![Health badge](/badges/drupal-core-project-message/health.svg)

```
[![Health](https://phpackages.com/badges/drupal-core-project-message/health.svg)](https://phpackages.com/packages/drupal-core-project-message)
```

###  Alternatives

[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5341.9M446](/packages/drupal-core-composer-scaffold)[lullabot/amp

A set of useful classes and utilities to convert html to AMP html (See https://www.ampproject.org/)

3802.9M10](/packages/lullabot-amp)[aleksip/plugin-data-transform

Data Transform Plugin for Pattern Lab PHP

34897.4k3](/packages/aleksip-plugin-data-transform)[acquia/drupal-recommended-settings

The composer plugin for adding drupal-recommended-settings for Acquia Cloud.

101.1M4](/packages/acquia-drupal-recommended-settings)[tripal/tripal

Tripal is a toolkit to facilitate construction of online genomic, genetic (and other biological) websites.

709.9k9](/packages/tripal-tripal)[pantheon-systems/pantheon_domain_masking

Domain masking middleware for Drupal

12285.9k](/packages/pantheon-systems-pantheon-domain-masking)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
