laika-session

Laika Session Documentation

laikait/laika-session replaces PHP’s session storage with a pluggable driver: files, Redis, Memcached, MySQL over raw PDO, or a Laika Model table. It works on its own or inside the Laika Framework.

Page What it covers
Getting Started Requirements, installation, first session, use inside the framework
Drivers The five drivers, their parameters, the database table, locking behaviour
Configuration Session options, cookie parameters, the secure flag
Session API The Session class, namespaces, SessionManager
Deployment PHP-FPM, multiple servers, proxies, concurrency, garbage collection
Reference Lifecycle, driver contract, exceptions, testing

New to the package? Start with Getting Started.