noccylabs/console-title

$ git tag
0.1.0

$ git branch
* master

NoccyLabs ConsoleTitle

Updates the title of console windows. Should support Linux, MacOS and Windows out of the box.

Installing

This library is currently in the experimental repository, so add it to your composer.json if you haven't:

"repositories": [
    { "type":"composer", "url":"http://packages.noccylabs.info/composer" }
]

Finally require the package:

$ composer require noccylabs/console-title:@stable

Usage

Using the library is simple, just call on NoccyLabs\Console\Title\ConsoleTitle#setTitle:

use NoccyLabs\Console\Title\ConsoleTitle;

$ct = new ConsoleTitle();
$ct->setTitle("This is the new title string");