PHP code example of leychan / cli-message

1. Go to this page and download the library: Download leychan/cli-message library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

leychan / cli-message example snippets




$message = '123';

$cli_message = new \cliMessage\CliMessage();
$cli_message->setMessage($message);
$cli_message->setPerLineFontQuantity(6);
$cli_message->run();
shell
php index.php