Session driver for CommonPHP that reads and stores session data through a CommonPHP Database connection.
- PHP
^8.5 comphp/session:^0.3comphp/database:^0.3
Once this package is available through your Composer repositories, install it with:
composer require comphp/session-comphp-database<?php
// TODO: Write usageThis driver is intended for applications that already use comphp/database and want session data stored through a CommonPHP database connection.
The driver should keep database-backed session storage separate from the core session package while using the common database abstraction.
Connection, read, write, destroy, garbage collection, and configuration failures should throw CommonPHP session or database exceptions instead of returning ambiguous false values.
MIT. See LICENSE.md.