iprodev/php-easycache
A lightweight, easy-to-use caching library for PHP that simplifies storing and retrieving cached data through a clean API. Ideal for small projects needing straightforward caching without extra complexity, with Composer installation and minimal setup.
MultiTierCache, an EasyCache wrapper, and Lock lifecycle handling. This fits applications that need layered cache reads/writes and idempotent lock release, especially where locks may be released manually and again from __destruct(). The removal of final from MultiTierCache suggests an intended extension point for wrappers such as EasyCache; confirm this is a supported public extension contract rather than an internal accommodation.src/Laravel from PHPStan is a quality-assurance gap: the framework integration layer is not statically analyzed in this release, so Laravel service-provider/config behavior should be validated by tests.Lock::release() fix reduces a real runtime TypeError risk in destructor/double-release paths. The PHPUnit downgrade to ^10.0 for PHP 8.1 compatibility affects the dev toolchain, not runtime, but may constrain contributors using newer PHPUnit. Disabling failOnWarning can mask optional-extension or deprecation warnings in CI. Explicit int casts in MultiTierCache::readThrough() are likely safe but should be checked for cache value type expectations. Removing final is non-breaking for consumers but expands the supported surface area and subclassing risk.EasyCache extending MultiTierCache an officially supported pattern? What cache stores and lock backends are covered by integration tests? Is Lock::release() now contractually idempotent? Why is src/Laravel excluded from PHPStan, and what compensates for that gap? Are optional Predis paths tested? What is the support policy for v3.x?failOnWarning, updated PHPStan config, and Laravel-folder exclusion from PHPStan.EasyCache/MultiTierCache subclassing, and read-through cache type behavior. Then deploy to staging with cache and lock telemetry, followed by production canary or phased rollout. Avoid bundling with unrelated cache backend changes so lock-release and extension behavior can be isolated.final and from the PHPStan exclusion of Laravel integration code. Pin versions and track upstream releases.failOnWarning and excluded Laravel static analysis reduce early-warning signals. Require application-level tests and monitoring rather than relying solely on package CI.readThrough() should be load-tested if cached values have mixed types or are consumed by strict type-sensitive code.TypeError, but application logic should still avoid ambiguous lock ownership. Watch for subclassing regressions now that MultiTierCache is extensible. Watch for cache read-through type coercion surprises. Watch for CI blind spots from disabled warnings and PHPStan exclusions. Optional Predis dependency paths need explicit runtime validation.How can I help you explore Laravel packages today?