snicco/session-psr16-bridge

Maintainers

Package info

github.com/snicco/session-psr16-bridge

pkg:composer/snicco/session-psr16-bridge

Statistics

Installs: 14 088

Dependents: 2

Suggesters: 0

Stars: 0

v2.0.0-beta.9 2024-09-07 14:27 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.