This package will contain everything to construct a stateless PHP application.
The first of very first of making a stateless application is to make stateless session for PHP. There are few options:
- Use encrypted cookie: Encryped sessions with JWT and store inside cookie.
- Databases: Store the sessions into databases
<?php
$session = new koolreport\stateless\sessions\JWTSession(60*24,"secretKey");
$session->setSessionHandler();
//Your code is here