PHPackages                             flackjap/illuminate-psr-cache-bridge - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. flackjap/illuminate-psr-cache-bridge

ActiveLibrary[Caching](/categories/caching)

flackjap/illuminate-psr-cache-bridge
====================================

1.0.4(4y ago)03.7kMITPHPPHP &gt;=5.6.0

Since Jun 4Pushed 4y agoCompare

[ Source](https://github.com/flackjap/illuminate-psr-cache-bridge)[ Packagist](https://packagist.org/packages/flackjap/illuminate-psr-cache-bridge)[ RSS](/packages/flackjap-illuminate-psr-cache-bridge/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (6)Versions (8)Used By (0)

PSR-6 cache implementation that connects to Laravel's cache Repository
======================================================================

[](#psr-6-cache-implementation-that-connects-to-laravels-cache-repository)

[![Latest Version on Packagist](https://camo.githubusercontent.com/2f9d40eecadd96d6074740a5d1b2f720826b0ba607601d78214ac2aa45d28dea/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d616465776974686c6f76652f696c6c756d696e6174652d7073722d63616368652d6272696467652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/madewithlove/illuminate-psr-cache-bridge)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/5283f71a24b45a8d2d07ce204631fe0fa26047d2778e698713750e71c711d804/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6d616465776974686c6f76652f696c6c756d696e6174652d7073722d63616368652d6272696467652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/madewithlove/illuminate-psr-cache-bridge)[![Code Coverage](https://camo.githubusercontent.com/e5038dafbab3eb379c154749c0328a175d7c00fc4fd28b19a7fa5173bb116a48/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6d616465776974686c6f76652f696c6c756d696e6174652d7073722d63616368652d6272696467652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/madewithlove/illuminate-psr-cache-bridge)[![Quality Score](https://camo.githubusercontent.com/79a14648755e06ce8ea66a59ef32cb4054c315152fe96395b518c0580befc0b0/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6d616465776974686c6f76652f696c6c756d696e6174652d7073722d63616368652d6272696467652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/madewithlove/illuminate-psr-cache-bridge)

This package adds PSR-6 cache support to Laravel 5. Laravel 6 has PSR-6 support build in which can be used through the `cache.psr6` container alias.

Usage
-----

[](#usage)

To start using a `Psr\Cache\CacheItemPoolInterface` typed implementation that stores data in Laravel's configured cache, add this to a service provider:

```
use Illuminate\Contracts\Cache\Repository;
use Madewithlove\IlluminatePsrCacheBridge\Laravel\CacheItemPool;
use Psr\Cache\CacheItemPoolInterface;

$this->app->singleton(CacheItemPoolInterface::class, function ($app) {
    $repository = $app->make(Repository::class);

    return new CacheItemPool($repository);
});
```

Right now you're all set to start injecting `CacheItemPoolInterface`'d everywhere you need it.

Install
-------

[](#install)

In order to install it via composer you should run this command:

```
composer require madewithlove/illuminate-psr-cache-bridge
```

Testing
-------

[](#testing)

```
vendor/bin/phpunit

# or:
vendor/bin/phpunit --testsuite=integration-tests
vendor/bin/phpunit --testsuite=unit-tests
```

Credits
-------

[](#credits)

[All Contributors](https://github.com/madewithlove/illuminate-psr-cache-bridge/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 69% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~454 days

Total

5

Last Release

1811d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.5.0

1.0.1PHP &gt;=5.6.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1690227?v=4)[flackjap](/maintainers/flackjap)[@flackjap](https://github.com/flackjap)

---

Top Contributors

[![hannesvdvreken](https://avatars.githubusercontent.com/u/1410358?v=4)](https://github.com/hannesvdvreken "hannesvdvreken (49 commits)")[![WouterSioen](https://avatars.githubusercontent.com/u/1398405?v=4)](https://github.com/WouterSioen "WouterSioen (13 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (5 commits)")[![flackjap](https://avatars.githubusercontent.com/u/1690227?v=4)](https://github.com/flackjap "flackjap (2 commits)")[![bramdevries](https://avatars.githubusercontent.com/u/1002245?v=4)](https://github.com/bramdevries "bramdevries (1 commits)")[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (1 commits)")

---

Tags

laravelcacheadapterpsr-6Bridgeimplementation

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/flackjap-illuminate-psr-cache-bridge/health.svg)

```
[![Health](https://phpackages.com/badges/flackjap-illuminate-psr-cache-bridge/health.svg)](https://phpackages.com/packages/flackjap-illuminate-psr-cache-bridge)
```

###  Alternatives

[madewithlove/illuminate-psr-cache-bridge

861.5M13](/packages/madewithlove-illuminate-psr-cache-bridge)[silber/page-cache

Caches responses as static files on disk for lightning fast page loads.

1.3k441.9k6](/packages/silber-page-cache)[laminas/laminas-cache

Caching implementation with a variety of storage options, as well as codified caching strategies for callbacks, classes, and output

1076.9M130](/packages/laminas-laminas-cache)[cache/simple-cache-bridge

A PSR-6 bridge to PSR-16. This will make any PSR-6 cache compatible with SimpleCache.

423.1M27](/packages/cache-simple-cache-bridge)[dragon-code/laravel-cache

An improved interface for working with cache

6844.8k10](/packages/dragon-code-laravel-cache)[cache/illuminate-adapter

A PSR-6 cache implementation using Illuminate. This implementation supports tags

1177.6k2](/packages/cache-illuminate-adapter)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
