This is a Caching library that implements PSR-6
Current Driver Support:
- Filesystem
- APC
- Memached
composer require gpupo/cache
MIT, see LICENSE.
- Composer Package on packagist.org
Caching library that implements PSR-6. This package is abandoned and no longer maintained. The author suggests using the https://github.com/symfony/cache package instead.
License: Other
This is a Caching library that implements PSR-6
Current Driver Support:
composer require gpupo/cache
MIT, see LICENSE.
Defining the interface yourselves and replacing the original package is a bad idea, especially given that the phpdoc of your interfaces don't match the actual PSR (return values for most method are booleans, not a fluent interface).
Please either upgrade your package to actually respect PSR-6, or mark it as abandoned on Packagist so that people looking for a PSR-6 implement know that they should go elsewhere.
Is it possible to have a new release ? If there is something you'd like to be done before, please tell me and I'll help if I can
Hi @gpupo
any plans on updating the library to match the PSR-6 specs?
These two methods are missing in your implementation:
public function expiresAt($expiration);
@see https://github.com/php-fig/cache/blob/master/src/CacheItemInterface.php#L89
public function expiresAfter($time);
@see https://github.com/php-fig/cache/blob/master/src/CacheItemInterface.php#L104
Please let me know. I use your implementation in a demo and in unit-tests for https://github.com/clickalicious/caching-middleware but now the dependency is broken.
I can also do the work and send you a PR for the changes if u like.
Registrando aqui que o build desta lib não está passando: https://travis-ci.org/danielcosta/cache/builds/56599921
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.