PHPackages                             snawoot/php-storageless-sessions - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. snawoot/php-storageless-sessions

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

snawoot/php-storageless-sessions
================================

Storageless sessions with encrypted and HMAC-signed cookies

1.4.2(9y ago)304.7kMITPHPPHP &gt;=5.4.0CI failing

Since Apr 1Pushed 9mo ago3 watchersCompare

[ Source](https://github.com/Snawoot/php-storageless-sessions)[ Packagist](https://packagist.org/packages/snawoot/php-storageless-sessions)[ Docs](https://github.com/Snawoot/php-storageless-sessions)[ RSS](/packages/snawoot-php-storageless-sessions/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (9)Used By (0)

php-storageless-sessions [![Build Status](https://camo.githubusercontent.com/b81a3aac1664d46cb27ff748f6f30e78dbf029cddf9b850426c62d86d124aeef/68747470733a2f2f7472617669732d63692e6f72672f536e61776f6f742f7068702d73746f726167656c6573732d73657373696f6e732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Snawoot/php-storageless-sessions)
========================================================================================================================================================================================================================================================================================================================================================

[](#php-storageless-sessions-)

Sessions handler which stores session data in HMAC-signed and encrypted cookies.

Requirements
------------

[](#requirements)

- PHP 5.4.0 or newer
- OpenSSL extension (built-in by default)
- Hash extension (built-in by default)
- Enabled output buffering (`output_buffering=1` or `output_buffering=On` in php.ini)

Usage
-----

[](#usage)

### Plain PHP

[](#plain-php)

```
