PHP session helper.
This class endeavors to make it easy to use better sessions in PHP scripts.
* Requires ini_set()
method be enabled.
Session class is developed for and tested with recent PHP Version:
composer require asdfdotdev/session
A number of usage examples are included in _examples/
. Check out the examples README for further details.
Information regarding the included tests is available in the tests the README.
Build history can be browsed at GitHub.
This class follows PSR-12 code standards.
By default basic checks are performed when creating a session:
Additional optional debugging can be enabled in session settings:
Feedback, bug reports, feature requests, and pull requests are welcome!
If you’d like to contribute please reference our code of conduct and contributing guides.