library illuminate-to-doctrine-cache
Provides a mapping between Illuminate and Doctrine Cache components.
iainconnor/illuminate-to-doctrine-cache
Provides a mapping between Illuminate and Doctrine Cache components.
- Monday, January 22, 2018
- by iainconnor
- Repository
- 1 Watchers
- 1 Stars
- 1,173 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 3 Versions
- 0 % Grown
Illuminate To Doctrine Cache
Provides a mapping between Illuminate and Doctrine Cache components., (*1)
, (*2)
Installation
From composer, composer require iainconnor/illuminate-to-doctrine-cache
., (*3)
Usage
- Configure your Illuminate cache as normal in Laravel or Lumen.
- Add
\IainConnor\IlluminateToDoctrineCache\IlluminateToDoctrineCacheServiceProvider
in Laravel or Lumen.
- Fetch
\IainConnor\IlluminateToDoctrineCache\IlluminateToDoctrineCacheFactory
from the service container.
- Call the
getDoctrineCacheForIlluminateCache()
method to get an instance of \Doctrine\Common\Cache\Cache
for 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 are redis
, memcached
, file
, array
and apc
.
dev-master
9999999-dev
Provides a mapping between Illuminate and Doctrine Cache components.
Sources
Download
The Requires
The Development Requires
by
Iain Connor
1.0.1
1.0.1.0
Provides a mapping between Illuminate and Doctrine Cache components.
Sources
Download
The Requires
The Development Requires
by
Iain Connor
1.0.0
1.0.0.0
Provides a mapping between Illuminate and Doctrine Cache components.
Sources
Download
The Requires
The Development Requires
by
Iain Connor