1. Go to this page and download the library: Download myctobot/aoe-php 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/ */
use Aoe\Session\Storage;
use Aoe\Tenant\TenantContext;
use Aoe\Config\AoeConfig;
// Set tenant from session
$tenantSlug = $_SESSION['tenant_slug'];
TenantContext::set($tenantSlug);
// Load config
$config = AoeConfig::createDefault();
$tenantConfig = $config->forTenant($tenantSlug);
// Get sessions
$storage = new Storage($tenantSlug);
$sessions = $storage->loadAll();
bash
composer
bash
git clone <repository>
cd aoe-php
composer install
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.