chillerlan/php-session

A simple encrypted session handler. PHP 7+

1.0.0 2018-03-28 15:51 UTC

This package is auto-updated.

Last update: 2024-03-26 00:48:50 UTC


README

A SessionHandlerInterface implementation for PHP 7.2+

version license Travis Coverage Scrunitizer Packagist downloads PayPal donate

Documentation

Requirements

  • PHP 7.2+
  • the Sodium extension for session encryption

Installation

requires composer

composer.json (note: replace dev-master with a version boundary)

{
	"require": {
		"php": ">=7.0.3",
		"chillerlan/php-session": "dev-master"
	}
}

Manual installation

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 folder src of the package

Profit!

Usage

  • @todo