PHP code example of rolandsusans / console-print

1. Go to this page and download the library: Download rolandsusans/console-print 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/ */

    

rolandsusans / console-print example snippets


use Console\Console;
use Console\Modifier\Background;
use Console\Modifier\Option;
use Console\Modifier\Text;

Console::log('myMessage',Text::GREEN, Background::RED, Options::UNDERLINE);