torann/taggable-file-cache
A Laravel package that adds tag support to the file cache driver, letting you group and invalidate cached items by tag—useful for lightweight file-based caching without Redis or Memcached.
Cache::tags([...])->flush() is the product-level primitive these features require, and the package supplies it on top of Laravel's existing file store.1.0.0 tag is a statement of intent, not evidence of a maintained project — one author, zero dependents, one release ever (2018-02-16), no compatibility matrix, no CI or security history. The real options remain Redis, in-house tag layer, or no tags at all.1.0.0 is the natural pin — but pin the commit SHA or a vendored copy, not a floating registry constraint.Reasonable to evaluate when:
Cache::forget() is genuinely insufficient.1.0.0 label makes this slightly more palatable — it signals the author considers the API surface settled — but it supplies no support commitment.Look elsewhere when:
1.0.0 from 2018 with notes reading "First release" means the next Laravel major is our problem.For executives (30-second version):
We have a small caching gap: we can expire individual cache entries, but not whole groups, and closing that gap today means either buying a Redis service or writing a little code. An open-source package does the group-expiry trick on top of plain files — no new infrastructure, no new vendor contract. It just shipped its first 1.0.0 release, which is a good sign for API stability but is not the same as a maintained project: no support policy, no security history, one author, last release in 2018. My recommendation is unchanged — take the idea, not the dependency: implement the same tag-index pattern in-house behind Laravel's cache API in a day or two, or vendor 1.0.0 as a frozen, internally owned copy if we want the head start. We get the product capability with no maintenance hostage and no infrastructure spend. Redis remains the right answer the moment we go multi-server — and that's the decision to keep on the roadmap.
For engineering:
Cache::tags([...])->flush() works without an external cache. Blast radius is confined to the cache layer — one store class, one driver registration, config — and it sits behind the framework-native Cache::tags() API, so the exit to Redis is a driver swap, not a refactor.1.0.0: a version bump and a one-line release note ("First release"). No stated breaking changes, no new features, no compatibility matrix, no prior release to be backwards-compatible with. Treat it as newly declared stability, not demonstrated stability. It also dates to the Laravel 5.5/5.6 era, so assume constraint conflicts and porting work.composer require-ing it: single maintainer, zero dependents, no CI evidence, no security history, no declared Laravel/PHP support range. Adopting it means we fork on the first breaking change — and we'll be the ones who discover that break.1.0.0 — exact or a shipped/committed copy, not ^1.0. Run it in a scratch branch against our locked framework version and exercise flush-by-tag under concurrency (parallel writes plus a flush, assert no stale or orphaned entries) before it reaches staging. Budget 1–3 engineer-days to port and test, roughly half a day per quarter to keep alive, spiking on Laravel majors.How can I help you explore Laravel packages today?