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

Latest commit

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

O2Session

Latest Stable VersionTotal DownloadsLatest Unstable VersionLicense

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

EngineSupportTested
APCYesYeshttp://php.net/apc
eAcceleratorSoonSoonhttp://eaccelerator.net
FileYesYeshttp://php.net/file
MemcachedYesYeshttp://php.net/memcached
MongoDBSoonSoonhttps://www.mongodb.com
Zend OPCacheSoonSoonhttp://php.net/opcache
RedisYesYeshttp://redis.io
SSDBSoonSoonhttp://ssdb.io
WincacheYesYeshttp://php.net/wincache
XCacheYesYeshttps://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

useO2System\Session;
// Initialize O2Session Instance using APC Storage Engine$session = newSession(['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

RoleName
Founder and Lead ProjectsSteeven Andrian Salim
DocumentationSteeven Andrian Salim, Ayun G. Wibowo

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

About

Open Source Session Management Driver Library

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages