PHP code example of fyre / console

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

    

fyre / console example snippets


use Fyre\Console\Console;

Console::color($text, $options);

Console::error($text, $options);

$height = Console::getHeight();

$width = Console::getWidth();

$input = Console::input($prefix);

Console::progress($step, $totalSteps);

Console::table($data, $header);

Console::write($text, $options);