Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Phpfastcache Bundle Laravel Package

phpfastcache/phpfastcache-bundle

Symfony bundle that integrates PhpFastCache into your application, letting you configure and inject cache services backed by files, Redis, Memcached, APCu, and other drivers through standard Symfony configuration. A lightweight way to add flexible, multi-backend caching.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for cache plumbing — re-open, narrowly. v3.0.0 materially widens the surface area beyond "glue": an improved DataCollector, CRUD-style CLI commands, and a Cacheable Response feature. That is enough to revisit it as a candidate for a Symfony 4.4 estate rather than dismissing it as a 2018 artifact. It is still not a platform bet — it remains a thin convenience layer over PhpFastCache — but the "reference implementation only" verdict from the prior assessment is now too harsh.
  • Observability investment — strengthened. "Improved DataCollector interface by retrieving more information about cache" plus the deep test suite directly upgrades the one defensible line item: hit/miss visibility in the profiler. Shorter QA cycles and faster onboarding are the value; the backend is not.
  • HTTP caching policy is now a product decision, not an engineering one. The new Cacheable Response feature pushes TTL, freshness, and per-route invalidation semantics into controller-level code. That requires a PM-owned policy table (which surfaces are cacheable, acceptable staleness, purge triggers) before rollout — this is the strongest new reason to involve product management in adoption.
  • Ops self-service via CLI. CRUD-like cache commands let support and ops inspect, seed, or purge without a deploy. Decide up front which commands are permitted in production, who can run them, and whether runs are logged. Unguarded cache-mutating commands are an incident vector.
  • Framework-scope triage still flags the framing error. This remains a Symfony bundle, not a Laravel package. For a Laravel product the equivalent decisions are the Cache facade, cache()->tags() for tag invalidation, and a response-cache middleware package for the Cacheable Response concept. Drop-in adoption in Laravel remains a non-starter at intake.
  • The supported-version ceiling sets the exit-plan budget. v3.0.0 targets Symfony 3.4/Flex and Symfony 4 — nothing for 5, 6, or 7. Symfony 4.4 is end-of-life, so every adoption is a migration-debt purchase on day one; fund the Symfony upgrade in the same planning cycle.

When to Consider This Package

Consider it only when all of the following hold:

  • The application is Symfony 3.4 or Symfony 4.x on the Flex bundle system and the framework upgrade is not funded this cycle. Verify the exact 3.x/4.x support matrix against the README before committing — v3 is a breaking line, not an additive one.
  • We specifically need the profiler panel, the Twig cache tag, the Cacheable Response behavior, or the CLI commands — and re-implementing the set is more than roughly a day of engineering.
  • Caching requirements are simple: one backend, global or per-route TTLs, no tag-invalidation semantics the product depends on.
  • We accept it as a pinned, explicitly "single-maintainer, no support SLA" dependency with a named owner, a vendored copy, and a written exit plan.
  • We are either greenfield on v3.0.0 or prepared to execute the v2→v3 migration guide (new namespace, phpfastcache service now private and DI-resolved, PhpFastCache v7).

Look elsewhere when:

  • The target is Laravel or any non-Symfony framework. Wrong kernel, wrong container, zero integration benefit.
  • The target is Symfony 5/6/7. Use symfony/cache (PSR-6/PSR-16), symfony/http-cache for response caching, and the native cache data collector. This bundle is not compatible and has no published roadmap toward it.
  • Maintainability is a hard requirement. One revival release by a contributor is not a support commitment; there is no security-patching guarantee, PHP 8.x support is unproven, and the dependent count remains effectively zero — no community safety net.
  • Requirements include tag/namespace invalidation at scale, multi-tenant key isolation, or clustered topology. PhpFastCache v7 is the constraint there, independent of the bundle.
  • Procurement or compliance requires an SBOM entry with an actively maintained upstream. Verify current repo activity before arguing the point; a single 3.0.0 tag does not by itself satisfy that gate.
  • We hold a v2 install and are close to a Symfony 4 move anyway. The breaking v3 migration is comparable effort to swapping in symfony/cache — price both before choosing.

How to Pitch It (Stakeholders)

Executives. A free, MIT-licensed convenience layer with a genuine 3.0.0 revamp: Symfony 4/Flex support, a deeper profiler panel, HTTP-level Cacheable Response, cache-management CLI commands, and a real test suite. That makes it a credible tool for a Symfony 4.4 surface rather than a dead 2018 dependency. It is still tactical: single-contributor revival, no path to Symfony 5+, Symfony 4 itself is end-of-life, and adoption therefore starts with migration debt attached. Recommendation: approve a time-boxed pilot with the Symfony upgrade funded in the same planning cycle; no new spend beyond that.

Engineering. Treat 3.0.0 as a breaking release, not a patch: namespace changes, the phpfastcache service is now private and must be resolved through DI, and PhpFastCache jumps to v7. Follow the provided migration guide, pin the exact version, and vendor if we ship on it. The spike is on the order of a day, and test coverage is better than v2, which lowers integration risk. Value concentrates in the DataCollector, Cacheable Response, the Twig tag, and the CLI; everything else we already have or can write quickly. Open a replacement ticket on day one targeting symfony/cache + symfony/http-cache data collectors when the framework upgrade lands.

Risk statement. The prior "archived since 2018, zero dependents" read is superseded by an active 3.0.0 — but activity is not support. Single maintainer, no LTS commitment, no Symfony 5+ roadmap, an EOL framework ceiling, and a breaking upgrade path mean the only durable product decision this package supports is still how quickly we get off it.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib