Skip to content
This repository was archived by the owner on Oct 11, 2019. It is now read-only.

circlecreative/o2session

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

O2Session

Latest Stable Version Total Downloads Latest Unstable Version License

O2Session is an Open Source Native PHP Session Management Handler Library. Allows different storage engines to be used. All but file-based storage require specific server requirements, and a Fatal Exception will be thrown if server requirements are not met. Another amazing product from Circle Creative, released under MIT License.

O2Session is build for working more powerfull with O2System Framework, but also can be used for integrated with others as standalone version with limited features.

O2Session is insipired by CodeIgniter Session Driver, so O2Session is has same method functions.

Supported Storage Engines Handlers

Engine Support Tested  
APC Yes Yes http://php.net/apc
eAccelerator Soon Soon http://eaccelerator.net
File Yes Yes http://php.net/file
Memcached Yes Yes http://php.net/memcached
MongoDB Soon Soon https://www.mongodb.com
Zend OPCache Soon Soon http://php.net/opcache
Redis Yes Yes http://redis.io
SSDB Soon Soon http://ssdb.io
Wincache Yes Yes http://php.net/wincache
XCache Yes Yes https://xcache.lighttpd.net/

Composer Instalation

The best way to install O2Session is to use Composer

composer require o2system/o2session

Packagist: https://packagist.org/packages/o2system/o2session

Usage Example

use O2System\Session;

// Initialize O2Session Instance using APC Storage Engine
$session = new Session(['handler' => 'apc']);

// Set session userdata
$session->set('foo', ['bar' => 'something']);

// Get session userdata
$foo = $session->get('foo');

More details at the Documentation.

Ideas and Suggestions

Please kindly mail us at o2system.framework@gmail.com

Bugs and Issues

Please kindly submit your issues at Github so we can track all the issues along development.

System Requirements

Credits

Role Name
Founder and Lead Projects Steeven Andrian Salim
Documentation Steeven Andrian Salim, Ayun G. Wibowo

Special Thanks To: Yudi Primaputra (CTO - PT. YukBisnis Indonesia)

About

Open Source Session Management Driver Library

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages