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 install
to install the required dependencies and generate/vendor/autoload.php
. - if you use a custom autoloader, point the namespace
chillerlan\Session
to the foldersrc
of the package
Profit!
- @todo