1. Go to this page and download the library: Download kalel1500/kalion 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/ */
kalel1500 / kalion example snippets
use Thehouseofel\Kalion\Core\Infrastructure\Support\Config\KalionConfig;
public function register(): void
{
KalionConfig::redirectTo(
defaultPath: fn() => 'home',
afterLogin: fn() => 'home',
);
}