Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/snawoot/php-storageless-sessions
Sessions handler which stores session data in HMAC-signed and encrypted cookies
https://github.com/snawoot/php-storageless-sessions
encrypted-cookies encryption hmac hmac-signature jwt jwt-authentication jwt-middleware jwt-token php php-security php-sessions php-storageless-sessions session-handler sessions sessionservice sessionstorage sessionstore
Last synced: 29 days ago
JSON representation
Sessions handler which stores session data in HMAC-signed and encrypted cookies
- Host: GitHub
- URL: https://github.com/snawoot/php-storageless-sessions
- Owner: Snawoot
- License: mit
- Created: 2017-03-30T10:07:10.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-08-09T21:57:11.000Z (over 4 years ago)
- Last Synced: 2024-06-22T15:04:02.983Z (6 months ago)
- Topics: encrypted-cookies, encryption, hmac, hmac-signature, jwt, jwt-authentication, jwt-middleware, jwt-token, php, php-security, php-sessions, php-storageless-sessions, session-handler, sessions, sessionservice, sessionstorage, sessionstore
- Language: PHP
- Size: 35.2 KB
- Stars: 30
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# php-storageless-sessions [![Build Status](https://travis-ci.org/Snawoot/php-storageless-sessions.svg?branch=master)](https://travis-ci.org/Snawoot/php-storageless-sessions)
Sessions handler which stores session data in HMAC-signed and encrypted cookies.---
:heart: :heart: :heart:
You can say thanks to the author by donations to these wallets:
- ETH: `0xB71250010e8beC90C5f9ddF408251eBA9dD7320e`
- BTC:
- Legacy: `1N89PRvG1CSsUk9sxKwBwudN6TjTPQ1N8a`
- Segwit: `bc1qc0hcyxc000qf0ketv4r44ld7dlgmmu73rtlntw`---
## 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
### Plain PHP
```php