https://github.com/endroid/composer-message
Show an error, warning or info message on composer install
https://github.com/endroid/composer-message
Last synced: 9 months ago
JSON representation
Show an error, warning or info message on composer install
- Host: GitHub
- URL: https://github.com/endroid/composer-message
- Owner: endroid
- License: mit
- Created: 2019-09-30T07:27:51.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-10-19T21:41:52.000Z (over 1 year ago)
- Last Synced: 2025-05-12T13:21:17.060Z (about 1 year ago)
- Language: PHP
- Homepage: https://endroid.nl/
- Size: 46.9 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Composer Message
*By [endroid](https://endroid.nl/)*
[](https://packagist.org/packages/endroid/composer-message)
[](https://github.com/endroid/composer-message/actions)
[](https://packagist.org/packages/endroid/composer-message)
[](https://packagist.org/packages/endroid/composer-message)
[](https://packagist.org/packages/endroid/composer-message)
## Installation
``` bash
$ composer require endroid/composer-message
```
## Usage
Define the messages inside your composer.json like this.
```
"extra": {
"endroid": {
"message": [
{ "content": "This is an error message", "type": "error" },
{ "content": "This is a warning message", "type": "warning" },
{ "content": "This is an info message", "type": "info" }
]
}
}
```
This will generate the following console output during installation.

## Versioning
Version numbers follow the MAJOR.MINOR.PATCH scheme. Backwards compatible
changes will be kept to a minimum but be aware that these can occur. Lock
your dependencies for production and test your code when upgrading.
## License
This bundle is under the MIT license. For the full copyright and license
information please view the LICENSE file that was distributed with this source code.