super-simple/session
Composer 安装命令:
composer require super-simple/session
包简介
Super Simple Session library.
README 文档
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.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-08-21