2017 © Pedro Peláez
 

library psr-6-doctrine-bridge

PSR-6 Doctrine bridge

image

cache/psr-6-doctrine-bridge

PSR-6 Doctrine bridge

  • Sunday, July 8, 2018
  • by aequasi
  • Repository
  • 2 Watchers
  • 7 Stars
  • 101,028 Installations
  • PHP
  • 4 Dependents
  • 1 Suggesters
  • 3 Forks
  • 0 Open issues
  • 9 Versions
  • 14 % Grown

The README.md

PSR 6 Doctrine Bridge

Gitter Latest Stable Version codecov.io Total Downloads Monthly Downloads Software License, (*1)

This library provides a PSR-6 compliant bridge between Doctrine and a Cache Pool. The bridge implements the Doctrine\Common\Cache\Cache interface. This is useful for projects that require an implementation of Doctrine\Common\Cache\Cache, but you still want to use a PSR-6 implementation., (*2)

Install

composer require cache/psr-6-doctrine-bridge

Usage

use Cache\Bridge\Doctrine\DoctrineCacheBridge;

// Assuming $pool is an instance of \Psr\Cache\CacheItemPoolInterface
$cacheProvider = new DoctrineCacheBridge($pool);

$cacheProvider->contains($key);
$cacheProvider->fetch($key);
$cacheProvider->save($key, $value, $ttl);
$cacheProvider->delete($key);

// Also, if you need it:
$cacheProvider->getPool(); // same as $pool

Contribute

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

The Versions

08/07 2018

dev-master

9999999-dev http://www.php-cache.com/en/latest/

PSR-6 Doctrine bridge

  Sources   Download

MIT

The Requires

 

The Development Requires

cache doctrine psr-6

16/07 2017

3.0.1

3.0.1.0 http://www.php-cache.com/en/latest/

PSR-6 Doctrine bridge

  Sources   Download

MIT

The Requires

 

The Development Requires

cache doctrine psr-6

13/03 2017

3.0.0

3.0.0.0 http://www.php-cache.com/en/latest/

PSR-6 Doctrine bridge

  Sources   Download

MIT

The Requires

 

The Development Requires

cache doctrine psr-6

07/08 2016

2.2.0

2.2.0.0 http://www.php-cache.com/en/latest/

PSR-6 Doctrine bridge

  Sources   Download

MIT

The Requires

 

The Development Requires

cache doctrine psr-6

26/01 2016

2.1.1

2.1.1.0 https://github.com/php-cache/doctrine-bridge

PSR-6 Doctrine bridge

  Sources   Download

MIT

The Requires

 

The Development Requires

cache doctrine psr-6

25/01 2016

2.1.0

2.1.0.0 https://github.com/php-cache/doctrine-bridge

PSR-6 Doctrine bridge

  Sources   Download

MIT

The Requires

 

The Development Requires

cache doctrine psr-6

21/12 2015

2.0.1

2.0.1.0 https://github.com/php-cache/doctrine-bridge

PSR-6 Doctrine bridge

  Sources   Download

MIT

The Requires

 

The Development Requires

cache doctrine psr-6

13/12 2015

2.0.0

2.0.0.0 https://github.com/php-cache/doctrine-bridge

PSR-6 Doctrine bridge

  Sources   Download

MIT

The Requires

 

The Development Requires

cache doctrine psr-6

05/12 2015

1.0.0

1.0.0.0 https://github.com/aequasi/psr-6-doctrine-bridge

PSR-6 Doctrine bridge

  Sources   Download

MIT

The Requires

 

The Development Requires

cache php redis memcached doctrine psr-6