1. Go to this page and download the library: Download team-reflex/ebot-api 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/ */
team-reflex / ebot-api example snippets
use Reflex\Config;
$file_directory = __DIR__;
$file_name = '.env';
Config::loadEnv($file_directory, $file_name);
use Reflex\Database\Capsule;
$capsule = new Capsule;
$capsule->addAndBoot('hostname', 'username', 'password', 'database', 'prefix');