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.13(1y ago)2124.7M↓20.8%320GPL-2.0-or-laterPHPPHP &gt;=7.3.0

Since Nov 4Pushed 2d 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 yesterday

READMEChangelogDependencies (5)Versions (377)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

Community32

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 ~6 days

Recently: every ~0 days

Total

376

Last Release

176d ago

Major Versions

9.3.4 → 10.0.0-alpha22020-09-14

9.1.0 → 10.0.0-alpha12020-09-14

9.3.19 → 10.1.82022-07-01

10.0.0-rc3 → 11.1.102023-07-24

10.6.x-dev → 11.0.02023-07-24

PHP version history (2 changes)8.8.2PHP &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

[symfony/runtime

Enables decoupling PHP applications from global state

74798.8M1.0k](/packages/symfony-runtime)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5344.1M564](/packages/drupal-core-composer-scaffold)[mnsami/composer-custom-directory-installer

A composer plugin, to help install packages of different types in custom paths.

1465.4M62](/packages/mnsami-composer-custom-directory-installer)[sandersander/composer-link

Adds ability to link local packages for development with composer

98457.9k](/packages/sandersander-composer-link)[phpro/grumphp-shim

GrumPHP Phar distribution

294.7M340](/packages/phpro-grumphp-shim)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

43785.5k4](/packages/lullabot-drainpipe)

PHPackages © 2026

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