o80 / session
Handle session start and provide some security.
dev-master
2015-04-02 08:57 UTC
Requires
- php: >=5.3.0
Requires (Dev)
- phpunit/phpunit: ^4.5
This package is not auto-updated.
Last update: 2025-03-29 19:33:10 UTC
README
This PHP library provide some security around the stealing of session.
How-to
Installation
With Composer, you simply need to require o80/session
:
{ ... "require": { "o80/session": "dev-master" } ... }
Starting session
Replace session_start();
by $session = new o80\Session(); $session->start();
.
Using session
Nothing changed :
// Writing $_SESSION['x'] = 'foo'; // Reading $bar = $_SESSION['x'];
Contribution
Just fork the project, make your changes, ask for pull request ;-).