1. Go to this page and download the library: Download brio/helpers 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/ */
brio / helpers example snippets
foreach($myvar as $var) {
Embryo\cliProgressBar($currentIndex, $total);
}
Embryo\cliPrompt('Do you want to continue ?');
Embryo\cliPrompt('Do you want to continue ?', ['continue', 'abort']);
$answer = Embryo\cliQuestion('What is the airspeed velocity of an unladen swallow ?');
foreach($myvar as $var) {
Embryo\cliSpinner('Manipulating data');
// Do something
}
Embryo\cliSpinner('Done !', true);