2017 © Pedro Peláez
 

library doctrine-adapter

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

image

cache/doctrine-adapter

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

  • Wednesday, June 6, 2018
  • by aequasi
  • Repository
  • 2 Watchers
  • 8 Stars
  • 117,578 Installations
  • PHP
  • 12 Dependents
  • 1 Suggesters
  • 2 Forks
  • 0 Open issues
  • 10 Versions
  • 13 % Grown

The README.md

Doctrine PSR-6 Cache pool

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

This is a PSR-6 cache implementation using Doctrine cache. It is a part of the PHP Cache organisation. To read about features like tagging and hierarchy support please read the shared documentation at www.php-cache.com., (*2)

This is a PSR-6 to Doctrine bridge. If you are interested in a Doctrine to PSR-6 bridge you should have a look at PSR-6 Doctrine Bridge., (*3)

Install

composer require cache/doctrine-adapter

Use

use Doctrine\Common\Cache\MemcachedCache;
use Cache\Adapter\Doctrine\DoctrineCachePool;


$memcached = new \Memcached();
$memcached->addServer('localhost', 11211);

// Create a instance of Doctrine's MemcachedCache
$doctrineCache = new MemcachedCache();
$doctrineCache->setMemcached($memcached);

// Wrap Doctrine's cache with the PSR-6 adapter
$pool = new DoctrineCachePool($doctrineCache);

Contribute

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

The Versions

06/06 2018

dev-master

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

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

  Sources   Download

MIT

The Requires

 

The Development Requires

cache doctrine tag psr-6

16/07 2017

1.0.0

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

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

  Sources   Download

MIT

The Requires

 

The Development Requires

cache doctrine tag psr-6

13/03 2017

0.6.0

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

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

  Sources   Download

MIT

The Requires

 

The Development Requires

cache doctrine tag psr-6

25/02 2016

0.5.0

0.5.0.0 https://github.com/php-cache/doctrine-adapter

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

  Sources   Download

MIT

The Requires

 

The Development Requires

cache doctrine tag psr-6

21/01 2016
02/01 2016

0.2.0

0.2.0.0 https://github.com/php-cache/doctrine-adapter

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

  Sources   Download

MIT

The Requires

 

The Development Requires

cache doctrine tag psr-6

30/12 2015

0.1.2

0.1.2.0 https://github.com/php-cache/doctrine-adapter

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

  Sources   Download

MIT

The Requires

 

The Development Requires

cache doctrine tag psr-6