eskirex / session
Eskirex Session Component
dev-master
2017-12-24 14:06 UTC
Requires
- php: ^7.1.3
- eskirex/dotify: dev-master
This package is not auto-updated.
Last update: 2025-03-30 07:41:12 UTC
README
Hello. This is Session component.
Examples
<?php require __DIR__ . '/vendor/autoload.php'; use Eskirex\Component\Session\Exceptions\SessionRuntimeException; use Eskirex\Component\Session\Session; $session = new Session(); try { $session->start(); } catch (SessionRuntimeException $e) { } $session->set('foo.bar', 'baz'); echo $session->get('foo.bar'); // baz print_r($session->get('foo')); // Array // ( // [bar] => baz // )
License
MIT