rich-id/cache-bundle
A Laravel/PHP cache bundle for rich-id that helps store and reuse resolved identifier data, reducing repeated lookups and speeding up responses. Install with Composer, point it at your preferred cache store, and add caching to your rich-id workflow with minimal configuration.
null values, which means the package can now reliably distinguish "cached null" from "cache miss." That directly supports features built on lookup-or-absent semantics — user/profile resolution, settings and feature-flag reads, "no results" search caching, and memoized repository/query calls where the absence of a record is a valid, cacheable answer.Cache::remember() memoization, an internal helper remains the cheaper option.null/empty results to be honored as real values (avoiding repeated upstream calls for known-absent records), you are standardized on Laravel's cache contracts/stores, and you can pin to ^0.1 and wrap the API.null result now behaves the same as caching any other value, so the product stops re-querying for records it already knows are absent. It is early-stage software at v0.1.2, so the recommendation is a contained pilot, not a platform commitment; effort is measured in days and the exit cost is low because we will wrap it.null values are now returned correctly instead of being treated as a miss. No breaking changes, no new features, no deprecations; a safe in-place bump. Because this is a pre-1.0 dependency, pin the version, isolate it behind an interface, and add a regression test asserting that a cached null is distinguishable from an uncached key before it reaches any shared cache path.How can I help you explore Laravel packages today?