koolreport/stateless
最新稳定版本:1.0.0
Composer 安装命令:
composer require koolreport/stateless
包简介
Assist creating stateless application
关键字:
README 文档
README
This package will contain everything to construct a stateless PHP application.
Sessions
The first of very first of making a stateless application is to make stateless session for PHP. There are few options:
- Use encrypted cookie: Encryped sessions with JWT and store inside cookie.
- Databases: Store the sessions into databases
JWTSession
<?php
$session = new koolreport\stateless\sessions\JWTSession(60*24,"secretKey");
$session->setSessionHandler();
//Your code is here
统计信息
- 总下载量: 17
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-01-26