spatie/laravel-flexible-cache-polyfill
Polyfill for Laravel 10 that adds Cache::flexible() (introduced in Laravel 11). Implements stale-while-revalidate caching so expired values can be served immediately while recalculation runs in the background, avoiding slow responses.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| psr-discovery/cache-implementations | 0.84 | Discovers installed PSR-6 cache implementations at runtime and returns the first available adapter, avoiding hard dependencies in libraries/SDKs. Supports php-cache adapters and Stash, with options to prefer or manually instantiate configurable caches. | 7 | 7 | 1 | 439K | 0 | 1.3 | 55.3 | MIT | 1 year ago | |
| craftcms/laravel-dependency-aware-cache | 0.83 | Laravel cache extension that tracks dependencies and automatically invalidates cached items when related keys change. Useful for keeping derived or aggregated data fresh without manual cache flushing. Designed for straightforward integration with Laravel’s cache system. | 2 | 2 | 0 | 9K | 0 | 21.9 | 55.6 | BSD-3-Clause | 1 month ago | |
| league/flysystem-cached-adapter | 0.82 | Caching adapter for Flysystem that speeds up filesystem operations by storing metadata (like directory listings and file info) in a cache backend. Reduces repeated calls to slower storage (S3/FTP) and improves performance in read-heavy scenarios. | 355 | 357 | 62 | 200K | 0 | 4.3 | 38.8 | MIT | 8 years ago | |
| desarrolla2/cache | 0.82 | Immutable PSR-16 simple cache library for PHP with multiple adapters (APCu, File, Memcached, Redis, MongoDB, etc.) plus a Chain adapter. Supports configurable options like default TTL via withOption/withOptions. Aims to be complete, correct, and fast. | 134 | 146 | 37 | 12K | 0 | 2.4 | 26.8 | MIT | 7 years ago | |
| graham-campbell/bounded-cache | 0.82 | — | 10 | 11 | 0 | 65K | 0 | 21.1 | 59.5 | MIT | 2 months ago | |
| doctrine/phpcr-dbal-symfony-pack | 0.82 | — | 0 | 0 | 1 | 0 | 1 | 0.5 | — | MIT | 6 years ago | |
| phpfastcache/phpfastcache | 0.82 | Phpfastcache is a fast, driver-based PHP caching library supporting PSR-6 and PSR-16. Works with many backends (files, APCu, Redis, Memcached, etc.), offers a unified API, and includes a type-aware v9 for PHP 8+. | 0 | 2,457 | — | 100K | — | 35.7 | 24.1 | — | — | |
| symfony/cache | 0.82 | Symfony Cache provides fast, low-overhead PSR-6 caching with adapters for common backends. Includes PSR-16 bridge plus implementations of symfony/cache-contracts CacheInterface and TagAwareCacheInterface for flexible app caching. | 4,165 | 4,187 | 64 | 8M | 0 | 57.7 | 53.0 | MIT | 1 week ago | |
| neurony/laravel-query-cache | 0.82 | — | 49 | 48 | 9 | 744 | 2 | 2.7 | 16.4 | MIT | 5 years ago | |
| vigstudio/laravel-eloquent-query-cache | 0.82 | Add query-level caching back to Eloquent with a simple remember-like API. Cache results from database queries, reduce repeated hits, and integrate with Laravel’s cache stores for faster reads and configurable invalidation. | 0 | 0 | 0 | 0 | 0 | 0.3 | — | Apache-2.0 | 3 years ago | |
| barryvdh/laravel-httpcache | 0.82 | Adds HTTP caching to Laravel using Symfony HttpCache. Supports reverse proxy-style caching, cache invalidation, and ESI, helping you speed up responses while keeping dynamic content fresh with simple middleware and configuration. | 503 | 513 | 39 | 2K | 23 | 15.6 | 17.1 | — | 1 year ago | |
| kevinrob/guzzle-cache-middleware | 0.81 | RFC 7234–compliant HTTP cache middleware for Guzzle 6+ using a HandlerStack. Improve API call performance with transparent caching. Supports PSR-7 and multiple storages: Laravel cache, Flysystem, PSR-6/16, and WordPress object cache. | 434 | 438 | 79 | 361K | 20 | 35.4 | 53.5 | MIT | 2 months ago | |
| thecodingmachine/cache-utils | 0.81 | Small set of PHP cache helpers by TheCodingMachine: adapters and utilities around PSR-6/PSR-16 caches, including cache wrappers and simple tooling to standardize access, reduce boilerplate, and ease integration in frameworks and libraries. | 2 | 2 | 3 | 34K | 0 | 0.6 | 55.3 | — | 6 years ago | |
| iazaran/smart-cache | 0.80 | Drop-in replacement for Laravel’s Cache facade that automatically compresses and chunks large values, deduplicates unchanged writes, self-heals corrupted entries, and performs cost-aware eviction. Works with existing code (PHP 8.1+, Laravel 8–13). | 211 | 211 | 8 | 1K | 0 | 30.0 | 12.9 | MIT | 2 weeks ago | |
| twig/cache-extra | 0.79 | Twig extension integrating Symfony Cache to cache template fragments. Adds a single cache tag for easy fragment caching in Twig views, improving performance with configurable cache backends via the Symfony Cache component. | 39 | 41 | 7 | 85K | 0 | 20.6 | 53.5 | MIT | 2 weeks ago | |
| spatie/laravel-partialcache | 0.76 | Abandoned package that adds a Blade @cache directive to cache rendered partial HTML in Laravel (5.1+). Supports passing view data, setting cache duration, custom keys, and cache tags, with optional facade/config publishing. | 195 | 208 | 30 | 940 | 0 | 2.1 | 7.4 | MIT | 8 years ago | |
| spatie/laravel-responsecache | 0.75 | Cache full Laravel responses to speed up your app. Automatically caches successful text-based GET requests (HTML/JSON), with easy middleware per route, configurable lifetimes, and optional stale-while-revalidate “grace” caching to refresh in the background. | 2,797 | 2,821 | 245 | 260K | 0 | 51.1 | 31.9 | MIT | 1 week ago | |
| sylius-labs/polyfill-symfony-framework-bundle | 0.70 | PolyfillSymfonyFrameworkBundle provides a lightweight polyfill for Symfony’s FrameworkBundle, helping apps and libraries run when the full FrameworkBundle isn’t available. Useful for compatibility across Symfony versions and reduced dependencies. | 13 | 13 | 5 | 56K | 0 | 0.8 | 49.7 | — | 3 years ago |
How can I help you explore Laravel packages today?