1. Go to this page and download the library: Download wizardloop/wizardcli 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/ */
wizardloop / wizardcli example snippets
use WizardCLI\WizardCLI;
heme' => 'wizard']);
$cli->art("WizardCLI"); // Magic banner
$cli->color("Welcome to the magical CLI!", "magenta+bold");
$cli->table(["Name", "Spell"], [
["Merlin", "Invisibility"],
["Morgana", "Fireball"]
]);
$cli->progressBar(100, "Created By Wizard Loop | @WizardLoop");
for ($i = 1; $i <= 100; $i++) {
usleep(40000);
$cli->progressAdvance();
}
$cli->progressFinish();