iainconnor / illuminate-to-doctrine-cache
There is no license information available for the latest version (1.0.1) of this package.
Provides a mapping between Illuminate and Doctrine Cache components.
Package info
github.com/iainconnor/illuminate-to-doctrine-cache
pkg:composer/iainconnor/illuminate-to-doctrine-cache
1.0.1
2018-01-22 21:03 UTC
Requires
- doctrine/cache: ^1.6
- illuminate/cache: ^5.4
- illuminate/support: ^5.4
Requires (Dev)
- ext-memcached: ^3.0
- illuminate/filesystem: ^5.4
- phpunit/phpunit: ^6.2
- predis/predis: ^1.1
This package is not auto-updated.
Last update: 2026-03-15 09:56:40 UTC
README
Provides a mapping between Illuminate and Doctrine Cache components.
Installation
From composer, composer require iainconnor/illuminate-to-doctrine-cache.
Usage
- Configure your Illuminate cache as normal in Laravel or Lumen.
- Add
\IainConnor\IlluminateToDoctrineCache\IlluminateToDoctrineCacheServiceProviderin Laravel or Lumen. - Fetch
\IainConnor\IlluminateToDoctrineCache\IlluminateToDoctrineCacheFactoryfrom the service container. - Call the
getDoctrineCacheForIlluminateCache()method to get an instance of\Doctrine\Common\Cache\Cachefor your configured Illuminate cache. - Be sure to catch and handle
\IainConnor\IlluminateToDoctrineCache\NoMatchingCacheException, which will be thrown if no matching Doctrine cache can be found for your Illuminate cache.
Currently supported Illuminate cache drivers areredis,memcached,file,arrayandapc.
