super-simple / session
Super Simple Session library.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/super-simple/session
Requires
- php: >=8.1
Requires (Dev)
- phpunit/phpunit: ^10.1
This package is auto-updated.
Last update: 2025-10-05 13:14:36 UTC
README
A super simple session manager.
Install
composer require super-simple/session
Requires PHP 8.1 or newer.
Usage
Basic usage:
<?php require_once __DIR__ . '/../vendor/autoload.php'; use SSSession\SessionFactory; $session = (new SessionFactory())->create(new MainSessionHandler(new YourStorage()), []); $session->start();
It could be use with the default php session handler.
<?php require_once __DIR__ . '/../vendor/autoload.php'; use SSSession\SessionFactory; $session = (new SessionFactory())->create(new \SessionHandler(), []); $session->start();
For more details check out the wiki.
License
The Super Simple Session is open-sourced software licensed under the MIT license.