PHP code example of kschroeder / spaced-tracker-ui
1. Go to this page and download the library: Download kschroeder/spaced-tracker-ui 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/ */
kschroeder / spaced-tracker-ui example snippets
use SpacedTracker\Ui\Environment;
use SpacedTracker\Ui\FrontController;
FrontController::fromEnvironment(Environment::load())->run();
use SpacedTracker\Ui\Environment;
$env = Environment::load();
$front = new FrontController(
Application::fromEnvironment($env),
__DIR__ . '/public',
);
$response = $front->handle($request);