cloverphp/session

clover php session

v0.0.1 2025-09-29 16:24 UTC

This package is auto-updated.

Last update: 2025-10-03 04:23:07 UTC


README

Clover PHP: Session

use Clover\Session\SessionManager;

$session = (new SessionManager(false)) // do not auto-start in constructor
    ->expire(7)
    ->path('/')
    ->secure(true)
    ->autoStart(true); // sets flag to autoStart

$session->start(); // start separately, cannot chain