This directory is the in-repo reference manual for the initphp/sessions
package. The top-level README is the front door; everything here
is detail.
| File | What it covers |
|---|---|
| 01 — Getting Started | Installation, the facade, your first session, the two call styles. |
| 02 — Session API | Every method on the Session facade, with examples. |
| 03 — Adapters | Each bundled save handler: requirements, every option, examples. |
| 04 — Custom Adapters | Build your own save handler on top of AbstractAdapter. |
| 05 — Error Handling | The exception hierarchy and what triggers each type. |
- Every PHP code block is written against the current
src/. Copy a block,require 'vendor/autoload.php', and it runs. - "Payload" means the raw, PHP-session-encoded string PHP hands to a save
handler's
write()— not your individual$_SESSIONvalues. - Examples assume
use InitPHP\Sessions\Session;and the relevant adapterusestatement.