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.4.4(7mo ago)2125.4M↓19.2%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 2w ago

READMEChangelogDependencies (6)Versions (386)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

65

—

FairBetter than 99% of packages

Maintenance83

Actively maintained with recent releases

Popularity57

Moderate usage in the ecosystem

Community32

Small or concentrated contributor base

Maturity73

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

385

Last Release

222d ago

Major Versions

9.3.6 → 10.0.0-alpha12020-09-14

9.3.4 → 10.0.0-alpha52022-02-24

9.3.8 → 10.1.82022-07-01

10.0.11 → 11.1.22023-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

[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5346.5M599](/packages/drupal-core-composer-scaffold)[symfony/runtime

Enables decoupling PHP applications from global state

740103.0M1.2k](/packages/symfony-runtime)[mnsami/composer-custom-directory-installer

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

1435.5M65](/packages/mnsami-composer-custom-directory-installer)[phpro/grumphp-shim

GrumPHP Phar distribution

284.9M348](/packages/phpro-grumphp-shim)[automattic/jetpack-autoloader

Creates a custom autoloader for a plugin or theme.

566.3M167](/packages/automattic-jetpack-autoloader)[altis/core

Core module for Altis

19233.0k4](/packages/altis-core)

PHPackages © 2026

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