PHP code example of abbadon1334 / atk4-session
1. Go to this page and download the library: Download abbadon1334/atk4-session 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/ */
abbadon1334 / atk4-session example snippets
php
// autoload
tence
$db = \Atk4\data\Persistence::connect('mysql://root:password@localhost/atk4');
// init session handler
new \Atk4\ATK4DBSession\SessionHandler($p, [/* session options */]);
php
(new \Atk4\Data\Schema\Migrator(new \atk4\ATK4DBSession\SessionModel($p)))->create();