PHPackages                             pointybeard/helpers-cli-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. [CLI &amp; Console](/categories/cli)
4. /
5. pointybeard/helpers-cli-message

ActiveLibrary[CLI &amp; Console](/categories/cli)

pointybeard/helpers-cli-message
===============================

A class to make it easier to print messages to the command-line

1.0.0(7y ago)01.4k↓46.2%2MITPHPPHP &gt;=5.6.6

Since May 16Pushed 7y ago1 watchersCompare

[ Source](https://github.com/pointybeard/helpers-cli-message)[ Packagist](https://packagist.org/packages/pointybeard/helpers-cli-message)[ Docs](https://github.com/pointybeard/helpers-cli-message)[ RSS](/packages/pointybeard-helpers-cli-message/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (3)Versions (2)Used By (2)

PHP Helpers: Command-line Message
=================================

[](#php-helpers-command-line-message)

- Version: v1.0.0
- Date: May 16 2019
- [Release notes](https://github.com/pointybeard/helpers-cli-message/blob/master/CHANGELOG.md)
- [GitHub repository](https://github.com/pointybeard/helpers-cli-message)

A class to make it easier to print messages to the command-line

Installation
------------

[](#installation)

This library is installed via [Composer](http://getcomposer.org/). To install, use `composer require pointybeard/helpers-cli-message` or add `"pointybeard/helpers-cli-message": "~1.0"` to your `composer.json` file.

And run composer to update your dependencies:

```
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update

```

### Requirements

[](#requirements)

This library makes use of the [PHP Helpers: Flag Functions](https://github.com/pointybeard/helpers-functions-flags) (`pointybeard/helpers-functions-flags`) and [PHP Helpers: Command-line Colour](https://github.com/pointybeard/helpers-cli-colour) (`pointybeard/helpers-cli-color`) packages. They are installed automatically via composer.

To include all the [PHP Helpers](https://github.com/pointybeard/helpers) packages on your project, use `composer require pointybeard/helpers` or add `"pointybeard/helpers": "~1.0"` to your composer file.

Usage
-----

[](#usage)

Include this library in your PHP files with `use pointybeard\Helpers\Cli\Message` and instanciate the `Message\Message` class like so:

```
