PHP code example of digicademy / dlight
1. Go to this page and download the library: Download digicademy/dlight 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/ */
digicademy / dlight example snippets
use Digicademy\DLight\Controller\PageController;
r/digicademy/dlight/config/settings.php';
$app = new \Slim\App(['settings' => $config]);
// DI CONTAINER
$container = $app->getContainer();
l', PageController::class . ':testAction')->setName('test.html');
// RUN
$app->run();