PHP Cache Libraries

Cache libraries for PHP

GitHub Star Comparison

PHP Cache Libraries GitHub Star Comparison
NoNameGitHub StarsDescriptionTrendLicenseTypeOfficial Site
1Laravel Cache⭐ 33.8kLaravel's standard cache system. Optimized for Laravel applications with various driver support and intuitive APIOverwhelming support from Laravel developers in 2025. High adoption rate due to framework integration convenienceMITLaravel CacheOfficial
2PhpRedis⭐ 10.2kHigh-performance PHP Redis extension. C implementation providing maximum speed and full Redis feature supportFirst choice for performance-focused applications in 2025. Continued growth with Redis 7.0+ new feature supportPHP LicenseExtensionOfficial
3Predis⭐ 7.7kPure PHP Redis client. Provides Redis access without external dependencies, achieving high compatibility and portabilityImportant choice for shared hosting environments in 2025. Continued demand due to pure PHP implementation advantagesMITPure PHP ClientOfficial
4Symfony Cache Component⭐ 4.2kSymfony's comprehensive cache component. PSR-6/16 compliant with various adapters, tag-based invalidation, and stampede protectionReigns as the pinnacle of PHP caching in 2025. Overwhelming other libraries with rich features and performanceMITPSR-6/16 CacheOfficial
5PhpFastCache⭐ 2.4kFeature-rich and fast PHP cache library. 20+ driver support with PSR-6/16 compliance and rich event systemGaining support with rich driver support in 2025. Continued adoption in projects with special requirementsMITPSR-6/16 CacheOfficial
6Scrapbook⭐ 317PHP cache library supporting various adapters. PSR-6/16 compliant with unified interface for Memcached, Redis, Couchbase, etc.Adopted in projects requiring multi-provider support in 2025. Differentiated by flexibility and stampede protectionMITPSR-6/16 CacheOfficial