mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
The "doctrine/cache" dependency is deprecated #6813
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jazithedev on GitHub (Sep 1, 2021).
Hello 👋,
The
doctrine/cachepackage is deprecated and unmaintained, but it is still a strict dependency of thedoctrine/orm. Is there a way to replacedoctrine/ormwith any other package, like for examplesymfony/cache? Are there any plans to remove that deprecated package fromdoctrine/orm?All best!
Chris
@derrabus commented on GitHub (Sep 1, 2021):
Yes, we need to get Doctrine Cache out of all interfaces eventually. For now, the recommendation is to use the only part of Doctrine Cache that is not deprecated (= the PSR-6 wrapper classes) and use Symfony Cache or whatever cache library your prefer.
Apart from that: PRs that phase out Doctrine Cache in favor of PSR-6 are more than welcome.