https://github.com/koolreport/stateless
Assist creating stateless application
https://github.com/koolreport/stateless
Last synced: about 2 months ago
JSON representation
Assist creating stateless application
- Host: GitHub
- URL: https://github.com/koolreport/stateless
- Owner: koolreport
- License: mit
- Created: 2024-01-10T07:13:25.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-28T09:24:51.000Z (over 2 years ago)
- Last Synced: 2025-07-11T04:52:51.150Z (12 months ago)
- Language: PHP
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Stateless
This package will contain everything to construct a stateless PHP application.
## Sessions
The first of very first of making a stateless application is to make stateless session for PHP. There are few options:
1. Use encrypted cookie: Encryped sessions with JWT and store inside cookie.
2. Databases: Store the sessions into databases
## JWTSession
```
setSessionHandler();
//Your code is here
```