1. Go to this page and download the library: Download fyre/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/ */
fyre / session example snippets
use Fyre\Session\Session;
Session::close();
$value = Session::consume($key);
Session::delete($key);
Session::destroy();
$value = Session::get($key);
$has = Session::has($key);
$id = Session::id();
$isActive = Session::isActive();
Session::refresh($deleteOldSession);
Session::register($options);
Session::set($key, $value);
Session::setFlash($key, $value);
Session::setTemp($key, $value, $expire);
Session::register($options);
Session::register($options);
Session::register($options);
Session::register($options);
Session::register($options);
Session::register($options);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.