GitHub - php-cache/session-handler: [READ-ONLY] An implementation of \SessionHandlerInterface that allows PSR-6 | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

php-cache/session-handler

Repository files navigation

PSR-6 Session handler

Gitter Latest Stable Version codecov.io Total Downloads Monthly Downloads Software License

This is a PHP session handler that supports PSR-6 cache. It is a part of the PHP Cache organisation. Find more documentation at www.php-cache.com.

Install

composer require cache/session-handler

Use

$pool = new ArrayCachePool();
$config = ['ttl'=>3600, 'prefix'=>'foobar'];

$sessionHandler = new Psr6SessionHandler($pool, $config);

Note that this session handler does no kind of locking, so it will lose or overwrite your session data if you run scripts concurrently. You have been warned.

Contribute

Contributions are very welcome! Send a pull request to the main repository or report any issues you find on the issue tracker.

About

[READ-ONLY] An implementation of \SessionHandlerInterface that allows PSR-6

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 8

Languages

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.