This package supports these caching systems out of the box:
redis
memcached
file
apc
array
Drivers can be replaced or added using
LaravelDoctrine\ORM\Configuration\Cache\CacheManager. The return should
implement Doctrine\Common\Cache\Cache or extend Doctrine\Common\Cache\CacheProvider
public function register()
{
$this->app->resolving(CacheManager::class, function (CacheManager $cache){
$cache->extend('memcache', function(array $settings, Application $app) {
$memcache = new \Memcache;
return new MemcacheCache($memcache);
});
});
}
This is documentation for laravel-doctrine/orm. Please add your ★ star to the project.