coercive / session
Coercive Security Session
Installs: 1 045
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=7.0
README
Start and store basic items in session
Get
composer require coercive/session
Usage
use Coercive\Security\Session\Config; use Coercive\Security\Session\Session; # Set your config options $Config = new Config(); $Config->setAutoStartSession(true); $Config->setSessionDomain('.mywebsite.com'); //... # Get your session handler $Session = new Session($Config); # And use ... if($Session->isActive()) { // do something }