Period is an object-oriented PHP session manager thats simple and easy to use. The purpose of this package was to make session management usable in an object-oriented manner. We also added some cool features to enhance you PHP session management. This package is completely framework agnostic and can be used in any web application.
The best way to install Period is through composer.
composer require lovephpforever/period
This session manger also allows array access. So you could use the session manager instance just like an array. Check out the example below. The session manager also implements Traversable which means the object can be used in a foreach.
- Array Access https://www.php.net/manual/en/class.arrayaccess.php
- Traversable https://www.php.net/manual/en/class.traversable.php
All contributions are welcome! If you wish to contribute.
This project is licensed under the terms of the MIT License.