1. Go to this page and download the library: Download maplephp/prompts 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/ */
$ansi = $cli->getAnsi();
$cli->line($ansi->blueBg(' ATLAS '));
$cli->line($ansi->dim('Choose a name for your project.'));
$name = $cli->ask($ansi->cyan('Project ' . $ansi->bold('name') . ' to create'));
use MaplePHP\Prompts\Themes\Blocks;
$blocks = new Blocks($cli);
$blocks->table(['Setting', 'Value'], [
['Project', 'atlas'],
['Database', 'SQLite'],
]);
use MaplePHP\Http\Stream;
$cli = new Command(stream: new Stream(STDERR));
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.