PHPackages                             greg-1-anderson/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. greg-1-anderson/drupal-core-project-message

ActiveComposer-plugin

greg-1-anderson/drupal-core-project-message
===========================================

Adds a message after Composer installation.

8.9.x-dev(6y ago)041GPL-2.0-or-laterPHPPHP &gt;=7.0.8

Since Apr 17Pushed 6y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (2)Used By (1)

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.",
      "Please visit 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

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

2

Last Release

2214d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b34cc6bd882277b6c6dda19bf6631ae5c3a909fd667c826a15121642cdc051b2?d=identicon)[greg.1.anderson](/maintainers/greg.1.anderson)

---

Top Contributors

[![greg-1-anderson](https://avatars.githubusercontent.com/u/612191?v=4)](https://github.com/greg-1-anderson "greg-1-anderson (1 commits)")

---

Tags

drupal

### Embed Badge

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

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

###  Alternatives

[composer/installers

A multi-framework Composer library installer

1.4k136.0M6.0k](/packages/composer-installers)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5341.9M441](/packages/drupal-core-composer-scaffold)[drupal/core-project-message

Adds a message after Composer installation.

2122.6M172](/packages/drupal-core-project-message)[drupal/core-vendor-hardening

Hardens the vendor directory for when it's in the docroot.

174.5M28](/packages/drupal-core-vendor-hardening)[acquia/drupal-recommended-settings

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

101.1M4](/packages/acquia-drupal-recommended-settings)[mxr576/ddqg-composer-audit

Drupal Dependency Quality Gate Composer Audit plugin

1056.7k2](/packages/mxr576-ddqg-composer-audit)

PHPackages © 2026

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