nette/caching
Nette Caching is a fast, flexible PHP caching library with memory, file, and distributed backends. It supports expiration, tags, namespaces, and dependency-based invalidation, making it easy to speed up PHP applications.
nette/caching is a credible, actively maintained commodity caching library, but it is not a replacement for Laravel's cache layer. The PM decision it informs is narrow: keep Illuminate\Cache as the platform default and evaluate this package only where it closes a specific, measured gap. This is a "buy optionally, not a build" signal—not a platform standardization mandate.NOASSERTION license, zero listed dependents, 435 stars—so due diligence lands on us.Consider adoption when:
capture(), or bulk operations materially outperform our current driver configuration—demonstrated by measurement, not intuition.Look elsewhere when:
Cache facade and supported drivers (native tags, events, atomic locks, Octane/Horizon alignment, team familiarity).NOASSERTION must be legally reviewed; do not assume MIT.nette/caching is a lightweight, actively maintained library with multiple backends, dependency-based invalidation, atomic fragment caching, and PSR-16 interoperability—but it is not a drop-in Laravel replacement. Adopting it broadly would mean a second cache abstraction, adapter work, and legal review, since the license is marked NOASSERTION. Recommendation: do not make it a platform standard. Fund a time-boxed evaluation only if we can show a measured gap in Laravel's cache, or if we need cache sharing with non-Laravel Nette/PHP services."nette/caching is worth a spike only against a concrete unmet need—file-based dependency invalidation, shared caching with non-Laravel PHP services, or PSR-16 interoperability. The API is clean, recent releases enforce PHPStan and support PHP 8.1–8.5, and bulk operations are useful. It does not implement Laravel's cache contracts, so we'd own a bridge, two invalidation models, and split observability. Default stays Laravel cache on Redis/Memcached; treat this as an optional adapter, scoped to a service boundary, with a documented invalidation contract and rollback path."How can I help you explore Laravel packages today?