1. Go to this page and download the library: Download lum/lum-core 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/ */
lum / lum-core example snippets
\Lum\Autoload::register(); // If using spl_autoload, call this.
$core = \Lum\Core::getInstance(); // Create your Core object.
$core = \Lum\Core::getInstance(); // Return the current core instance.
$lum = \Lum\Core::getInstance();
$lum->conf->setDir('./conf'); // Load Conf plugin and call setDir() on it.
$lum->router = ['extend'=>true, 'auto_prefix'=>true]; // Load Router plugin.
$lum->router->loadRoutes($lum->conf->routes); // Load routes into Router.
$lum->controllers->addNS("\\MyApp\\Controllers"); // Load Controllers plugin.
$lum->models->addNS("\\MyApp\\Models"); // Load Models plugin.
$lum->controllers->use_screens(); // Use default view loaders.
$lum->dispatch(); // Call an extension method added by Router plugin.
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.