phpmob/twig-modify-bundle
phpmob/twig-modify-bundle is a small Symfony/PHP bundle that extends Twig with modification helpers for transforming values directly in templates, helping keep presentation logic concise and reusable.
Architecture fit
Illuminate\Contracts\Cache\Repository, the Cache facade, tagged caches, store-per-connection config) is idiomatic and well understood by most Laravel teams. Introducing a second caching abstraction alongside it creates two configuration surfaces, two invalidation models, and two mental models for the same concern. That is manageable, but it must be a deliberate decision — justified by portability (framework-agnostic), interoperability with non-Laravel services, or access to adapter features Laravel's stores don't expose — not an incidental refactor.Integration feasibility
symfony/cache (and which major), whether it still honors config/cache.php defaults or introduces its own config namespace, and whether the service provider registers conditionally (important for multi-tenant and multi-store apps).Technical risk
Cache::tags([...])->flush() needs explicit re-verification.null for "never expires" while some Laravel paths use 0 or large integers; off-by-semantics bugs here surface as either premature expiry or unbounded growth, both of which are production incidents rather than test failures.Cache::spy(), Telescope integration, and per-store metrics may no longer fire. Teams lose cache hit/miss visibility at exactly the moment they need it most.Key questions
symfony/cache, psr/cache, psr/simple-cache)?config/cache.php, and does CACHE_DRIVER / per-store config remain authoritative?Stack fit
Migration path
Compatibility
Cache::spy() or array-store fakes; these may need rework if the package bypasses the Laravel cache contract.Sequencing
<2.0 for the package to stop accidental adoption; open a tracking ticket.Maintenance
Support
Scaling
Failure modes
Ramp-up
How can I help you explore Laravel packages today?