PHP Caching

Open-source PHP projects categorized as Caching

Top 20 PHP Caching Projects

  • Doctrine Cache

    Doctrine Cache component (by doctrine)

  • cache

    Provides extended PSR-6, PSR-16 (and tags) implementations (by symfony)

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • laravel-model-caching

    Eloquent model-caching made easy.

    Project mention: How is this website so fast? | | 2022-08-16

    I also use this super handy package which puts Redis in between your models so rather than writing right to the DB the app interacts with Redis which then writes to the DB when it can thus saving so much load time:

  • CacheTool

    CLI App and library to manage apc & opcache.

  • rememberable

    Query caching for Laravel

  • Stash

    The place to keep your cache. (by tedious)

    Project mention: JShrink, the pure PHP Javascript Minifier, has biggest release since 2014 | | 2023-03-06

    Yeah this project grew out of a framework I made in the 2006-2008 era, where we also minified and bundled js on the fly. My caching library, Stash, also came out of that project (in part to make serving minified files faster).

  • wp-rocket

    Performance optimization plugin for WordPress

    Project mention: Confused about ability to resell a custom template and theme to clients. | | 2022-12-07
  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • laravel-varnish

    Making Varnish and Laravel play nice together

    Project mention: Help with Integrating Laravel with Varnish | | 2022-06-20

    I am an ops person so my knowledge of laravel is close to 0. I have to integrate Varnish 6 with laravel. I followed this template for the laravel varnish config. The module that is being used on the backend is . The issue is the session cookies are not being removed from the response header it seems which is causing the pages to become uncacheable even when cache-control headers are set correctly.

  • scrapbook

    PHP cache library, with adapters for e.g. Memcached, Redis, Couchbase, APC(u), SQL and additional capabilities (e.g. transactions, stampede protection) built on top.

  • CacheQuery

    Remember your query results using only one method. Yes, only one.

    Project mention: I nailed it! The best SQL cache! | | 2022-04-28

    I hate caching SQL results, so I made own:

  • APIx Cache

    A thin PSR-6 cache wrapper with a generic interface to various caching backends emphasising cache tagging and indexing. (by apix)

  • Metaphore

    Cache slam defense using a semaphore to prevent dogpile effect.

  • Laminas Cache

    Caching implementation with a variety of storage options, as well as codified caching strategies for callbacks, classes, and output

  • Cake Cache

    [READ-ONLY] Easy to use Caching library with support for multiple caching backends. This repo is a split of the main code that can be found in (by cakephp)

  • Simple Cache Class

    :zap: Simple Cache Abstraction Layer for PHP (by voku)

  • CachePage

  • Apix-SimpleCache

    The PSR-16 extension to Apix-Cache (by apix)

  • response-cache

    A Laravel package that adds a smart cache for full responses

    Project mention: If PHP Were British (2011) | | 2022-12-02

    There's no boilerplate here, no need to reimplement the whole shouldCache method, when only a single, granular, override is enough. And that is why protected can be helpful :)

    (This was taken from a Laravel library I maintain. If you want to check the full example, see here:

  • PHP Simple Cache

    Simple PHP object caching base on temp file (no additional PHP extension require) (by jaredchu)

  • cachewithlock

    CacheWithLock package for Laravel framework - overrides remember method of Laravel Cache using lock mechanism to avoid multiply generation of the same data.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-03-06.

PHP Caching related posts


What are some of the best open-source Caching projects in PHP? This list will help you:

Project Stars
1 Doctrine Cache 7,619
2 cache 3,885
3 laravel-model-caching 2,057
4 CacheTool 1,452
5 rememberable 1,043
6 Stash 947
7 wp-rocket 583
8 laravel-varnish 362
9 scrapbook 296
10 CacheQuery 196
11 APIx Cache 112
12 Metaphore 102
13 Laminas Cache 72
14 Cake Cache 49
15 Simple Cache Class 28
16 CachePage 15
17 Apix-SimpleCache 9
18 response-cache 2
19 PHP Simple Cache 2
20 cachewithlock 0
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives