All Projects → duncan3dc → sessions

duncan3dc / sessions

Licence: Apache-2.0 license
A non-blocking session handler for PHP

Programming Languages

PHP
23972 projects - #3 most used programming language
Dockerfile
14818 projects

Labels

Projects that are alternatives of or similar to sessions

Nodesession
Session handling for NodeJS
Stars: ✭ 111 (+382.61%)
Mutual labels:  session
Tlog
Terminal I/O logger
Stars: ✭ 170 (+639.13%)
Mutual labels:  session
CSRF-tutorial
Use Django To Introduce CSRF and Cookies , Session 📝
Stars: ✭ 49 (+113.04%)
Mutual labels:  session
Php Serialize
Use PHP's serialization methods from Ruby.
Stars: ✭ 119 (+417.39%)
Mutual labels:  session
Next Session
Simple promise-based session middleware for Next.js, micro, Express, and more
Stars: ✭ 161 (+600%)
Mutual labels:  session
Aura.session
Tools for managing sessions, including session segments and read-once messages
Stars: ✭ 185 (+704.35%)
Mutual labels:  session
Fcuuid
iOS UUID / Universally Unique Identifiers library as alternative to UDID and identifierForVendor. 📱
Stars: ✭ 1,387 (+5930.43%)
Mutual labels:  session
SanSessionToolbar
⚡ Session Toolbar that can be applied into Zend/Laminas DeveloperTools
Stars: ✭ 39 (+69.57%)
Mutual labels:  session
Gta5online Private public lobby
A tool to setup your GTA5 firewall rules easily. Adding IPs to your whitelist enables your friends to stay in your session.
Stars: ✭ 170 (+639.13%)
Mutual labels:  session
mst-persist
Persist and hydrate MobX-state-tree stores (in < 100 LoC)
Stars: ✭ 75 (+226.09%)
Mutual labels:  session
Cash
HTTP response caching for Koa. Supports Redis, in-memory store, and more!
Stars: ✭ 122 (+430.43%)
Mutual labels:  session
Redux React Session
🔑 Simple Session API storage for Redux and React
Stars: ✭ 140 (+508.7%)
Mutual labels:  session
Slim Session
A very simple session middleware for Slim Framework 2/3/4.
Stars: ✭ 200 (+769.57%)
Mutual labels:  session
Ibase4j
Spring,SpringBoot 2.0,SpringMVC,Mybatis,mybatis-plus,motan/dubbo分布式,Redis缓存,Shiro权限管理,Spring-Session单点登录,Quartz分布式集群调度,Restful服务,QQ/微信登录,App token登录,微信/支付宝支付;日期转换、数据类型转换、序列化、汉字转拼音、身份证号码验证、数字转人民币、发送短信、发送邮件、加密解密、图片处理、excel导入导出、FTP/SFTP/fastDFS上传下载、二维码、XML读写、高精度计算、系统配置工具类等等。
Stars: ✭ 1,548 (+6630.43%)
Mutual labels:  session
hutplate
A Go library over standard net/http library with auth, session, err handling and more.
Stars: ✭ 28 (+21.74%)
Mutual labels:  session
Sessionup
Straightforward HTTP session management
Stars: ✭ 107 (+365.22%)
Mutual labels:  session
Thinkgo
A lightweight MVC framework written in Go (Golang).
Stars: ✭ 184 (+700%)
Mutual labels:  session
rust cms
使用Rust编写一个CMS(内容管理系统)可以做为个人博客,公司网站
Stars: ✭ 32 (+39.13%)
Mutual labels:  session
dialectic
Transport-polymorphic, asynchronous session types for Rust
Stars: ✭ 60 (+160.87%)
Mutual labels:  session
Wwdc
You don't have the time to watch all the WWDC session videos yourself? No problem me and many contributors extracted the gist for you 🥳
Stars: ✭ 2,561 (+11034.78%)
Mutual labels:  session

sessions

A non-blocking session handler for PHP

Full documentation is available at http://duncan3dc.github.io/sessions/
PHPDoc API documentation is also available at http://duncan3dc.github.io/sessions/api/

release build coverage

Quick Examples

$session = new \duncan3dc\Sessions\SessionInstance("my-app");
$session->set("current-status", 4);
$currentStatus = $session->get("current-status");

Avoid common key clashes:

$session->set("user", "Mark");

$backend = $session->createNamespace("backend");
$backend->set("user", "Caroline");

$session->get("user"); # "Mark"
$backend->get("user"); # "Caroline"

Store one-time flash messages:

$session->setFlash("message", "Your profile has been updated");

$session->getFlash("message"); # "Your profile has been updated";

$session->getFlash("message"); # null;

There is also a static class you can use with all the features above:

use \duncan3dc\Sessions\Session;
Session::name("my-app");

Session::set("current-status", 4);
$currentStatus = Session::get("current-status");

Read more at http://duncan3dc.github.io/sessions/

Changelog

A Changelog has been available since the beginning of time

Where to get help

Found a bug? Got a question? Just not sure how something works?
Please create an issue and I'll do my best to help out.
Alternatively you can catch me on Twitter

duncan3dc/sessions for enterprise

Available as part of the Tidelift Subscription

The maintainers of duncan3dc/sessions and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].