orkestra/apc-bundle
A small bundle that adds APC/APCu cache support to Orkestra applications, wiring cache services and configuration so PHP's shared memory cache can be used through the framework's standard cache abstractions. Useful for fast local caching without external services.
The framework mismatch is the product decision. orkestra/apc-bundle is a Symfony 2 bundle, not a Laravel package — no service provider, no extra.laravel auto-discovery, no Laravel cache-contract adapter. For a Laravel portfolio, the only legitimate "leveraging" is as a signal and a pattern source, never as a dependency.
apcu_* stats, a cache-clear endpoint — is a few dozen lines in Laravel via the Cache facade, and the underlying capability already ships as config/cache.php drivers. Adopting an unmaintained bundle to get functionality your framework already has is a negative-value decision.symfony/cache, Laravel's cache contracts) with Redis/Memcached backends so no application ever needs a framework-and-extension-specific bundle again.symfony/cache or Laravel's native cache drivers.Consider it only under all of the following simultaneously:
apc extension installed and enabled.Look elsewhere in every other case:
config/cache.php. This is the wrong ecosystem.symfony/cache superseded it, and Symfony 4+ where bundle-less Flex architecture makes it structurally inapplicable.The honest default: this package is a historical artifact. Treat it as an inventory finding, not an option.
To executives (30 seconds): We evaluated orkestra/apc-bundle and recommend against adoption. It is a small add-on for Symfony 2, a PHP framework version out of support since 2018, depending on APC, a caching extension replaced in PHP 5.5. It has 4 GitHub stars, no downstream users, and no maintenance activity. It does not reduce cost or risk — it concentrates both. Budget impact of adopting: roughly zero savings plus an ongoing supportability liability. Recommendation: no action to adopt; if it appears anywhere in our portfolio, it is evidence of an application that belongs on the modernization roadmap.
To engineering leadership: Do not add this dependency. Where a team needs what it does, the supported substitutes are OPcache (opcodes) plus symfony/cache for Symfony, or Laravel's native cache contracts, on a PSR-6/PSR-16 interface with Redis or Memcached behind it. That keeps the caching decision independent of framework version and gives us a security patch path. If a team wants the pattern — deploy-time invalidation, cache stats, a clear-cache endpoint — we can implement it natively in a Laravel service in a few dozen lines, or reach for symfony/cache if a Symfony-style abstraction is genuinely required.
To the requesting team (if someone asked for it, including a Laravel team): Tell us the underlying problem — slow bootstrap, class-loading overhead, missing cache config, or a need to invalidate cache at deploy time. On a current PHP version that is a configuration change plus a small amount of framework code, not a package. If you are genuinely stuck on Symfony 2 and APC, escalate it as a migration risk rather than a dependency request, because that is what it actually is.
One-line summary for the decision log: Rejected — wrong ecosystem for our Laravel work, end-of-life framework, superseded extension, no maintenance or user base; adopt OPcache + framework-native PSR-6 caching instead, and reuse only the deploy-time invalidation pattern.
How can I help you explore Laravel packages today?