Cannot add laminas cache to my project.
dejvidecz opened this issue · 3 comments
Bug Report
Composer error:
laminas/laminas-cache 3.1.2 requires laminas/laminas-cache-storage-implementation 1.0 -> no matching package found.
How to reproduce
Tried in new project:
composer create-project -s dev laminas/laminas-mvc-skeleton path/to/install
Then in folder
composer require laminas/laminas-cache
You need to install 1 of laminas cache adapter, eg: filesystem:
composer require laminas/laminas-cache-storage-adapter-filesystem
@samsonasik Oh i missed that. Thank you it works.
Glad you made it work.
With 3.0 of laminas-cache
, this component only provides generic cache logic.
Since this generic cache logic cannot work without an adapter, at least one adapter has to be required by the project as well.
This way, we can easily add new adapters without having releases of this component at all.