【文件属性】:
文件名称:会话:PHP的安全会话管理器
文件大小:31KB
文件格式:ZIP
更新时间:2021-02-13 16:43:07
PHP
会议
适用于PHP的相当安全的会话管理器
安装
使用作曲家:
composer require delboy1978uk/session
用法
use Del \ SessionManager ;
// Starting the session - also takes a name argument
SessionManager :: sessionStart ();
// Setting a variable
SessionManager :: set ( 'name' , 'DelBoy' );
// Getting a variable
$ name = SessionManger :: get ( 'name' );
// Unsetting a variable
SessionManager :: destroy ( 'name' );
// Ending the sess
【文件预览】:
session-master
----.scrutinizer.yml(126B)
----codeception.yml(370B)
----src()
--------SessionManager.php(6KB)
----.travis.yml(398B)
----LICENSE(1KB)
----README.md(1KB)
----tests()
--------functional.suite.yml(304B)
--------_bootstrap.php(51B)
--------unit.suite.yml(184B)
--------_data()
--------acceptance.suite.yml(491B)
--------functional()
--------acceptance()
--------unit()
--------_helpers()
----.gitignore(53B)
----composer.json(423B)