kozz/laravel-doctrine-cache
Larablocks Analysis
kozz/laravel-doctrine-cache works with Laravel 5 (latest release 1.0.0, May 20, 2015), which reached end of life: no more fixes, even for security.
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- Supports only Laravel 5, past end of life
- No release in the last 12 months (last: May 20, 2015)
- 0 downloads a month (needs 10,000)
- 2 GitHub stars (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: May 20, 2015.
- No releases in the last 12 months.
- First released: May 20, 2015.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 26, 2026.
| Install | |
|---|---|
composer require kozz/laravel-doctrine-cache |
|
| Latest Version: | 1.0.0 |
| PHP: | >=5.4.0 |
| Laravel: | 5 |
| License: | MIT |
| Last Updated: | May 20, 2015 |
| Links: | GitHub · Packagist |
Laravel Docrtine Cache Proxy
Laravel Proxy to Doctrine Cache
When to use
LaravelDoctrineCache implements Doctrine\Common\Cache\Cache interface
so it's fully compatible with all libraries that are requiring Doctrine Cache such as:
- Doctrine Annotation Reader
- Symfony Validator
- JMS Serializer
How does it work
LaravelDoctrineCache is using cache from app container : Container::getInstance()->offsetGet('cache') and points Doctrine\Common\Cache\Cache methods to suitable Laravel Cache methods
Examples
#JMS\Serializer
$serializer = \JMS\Serializer\SerializerBuilder::create()
->setAnnotationReader(new CachedReader(new AnnotationReader(), new LaravelDoctrineCache()))
->build();
Reference
Methods
fetch($id) - Fetches an entry from the cache
contains($id) - Test if an entry exists in the cache
save($id, $data, $lifeTime = false) - Puts data into the cache
delete($id) - Deletes a cache entry
Related Packages
Caches responses as static files on disk for lightning fast page loads.
An migration EventSubscriber which ensures public namespace is only added if nee...
A wrapper for Memcached with tags, soft invalidation, memoization, and regenerat...
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 1.0.0 | >=5.4.0 | ~5.0 | MIT |