snicco/session-psr16-bridge

v1.9.0 2023-09-20 12:36 UTC

README

codecov Psalm Type-Coverage Psalm level PhpMetrics - Static Analysis PHP-Versions

This package provides a Psr16SessionDriver for the snicco/session library.

Installation

composer require snicco/session-psr16-bridge

Usage

use Snicco\Bridge\SessionPsr16\Psr16SessionDriver;

$idle_timeout_in_seconds = /* Same value as in your session config here */
$psr16_cache = /* */

$psr16_session_driver = new Psr16SessionDriver($psr16_cache, $idle_timeout_in_seconds);

Contributing

This repository is a read-only split of the development repo of the Snicco project.

This is how you can contribute.

Reporting issues and sending pull requests

Please report issues in the Snicco monorepo.

Security

If you discover a security vulnerability, please follow our disclosure procedure.