tbbc/cache-bundle
TbbcCacheBundle integrates a configurable caching layer into Symfony applications, exposing cache services and helpers for storing, retrieving, and invalidating data across common cache backends. It simplifies cache setup and reuse in Symfony projects.
Cache::remember at the repository layer).Consider it when:
Look elsewhere when:
Cache::remember in a repository/service layer. Do not port a Symfony bundle to satisfy a Laravel mandate.For executives (30 seconds): "A small open-source utility that lets developers declare caching with a one-line annotation instead of hand-writing cache logic. It's cheap to try and MIT-licensed, so there's no procurement cost — but it's effectively a personal project: modest traction, no downstream users, and it targets an older Symfony version than ours. Recommendation: use it as a reference for a one-week spike, not as a platform dependency. If the spike shows wins, we implement the same pattern in-house behind our own interface — roughly a few engineer-days — and keep full control. Risk of adoption as-is: low dollars, moderate technical debt, no external support."
For engineering (the real conversation):
CachePolicy/decorator interface so the underlying mechanism is swappable within one PR. Never let annotations be the only place caching semantics live.Decision-log line to record: "TbbcCacheBundle evaluated as a pattern reference only; rejected as a production dependency due to framework mismatch, annotation deprecation risk, and zero downstream adoption. In-house thin cache decorator approved pending spike results."
How can I help you explore Laravel packages today?