A SessionHandlerInterface implementation for PHP 7.2+
- PHP 7.2+
- the Sodium extension for session encryption
requires composer
composer.json (note: replace dev-master with a version boundary)
{
"require": {
"php": ">=7.0.3",
"chillerlan/php-session": "dev-master"
}
}Download the desired version of the package from master or release and extract the contents to your project folder. After that:
- run
composer installto install the required dependencies and generate/vendor/autoload.php. - if you use a custom autoloader, point the namespace
chillerlan\Sessionto the foldersrcof the package
Profit!
- @todo