PHPackages                             dracoblue/doctrine-cache-profile-storage - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. dracoblue/doctrine-cache-profile-storage

ActiveLibrary[Caching](/categories/caching)

dracoblue/doctrine-cache-profile-storage
========================================

Use a Doctrine Cache as ProfilerStorageInterface for Symfonys Web Profiler.

0.1.0(7y ago)08[1 issues](https://github.com/DracoBlue/doctrine-cache-profile-storage/issues)MITPHP

Since Nov 17Pushed 7y ago1 watchersCompare

[ Source](https://github.com/DracoBlue/doctrine-cache-profile-storage)[ Packagist](https://packagist.org/packages/dracoblue/doctrine-cache-profile-storage)[ RSS](/packages/dracoblue-doctrine-cache-profile-storage/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

doctrine-cache-profile-storage
==============================

[](#doctrine-cache-profile-storage)

By default the profiler for symfony stores it's data in file storage. If you want to use memcached or redis instead, you need a ProfileStorageInterface for this.

This library provides a simple `Symfony\Component\HttpKernel\Profiler\ProfilerStorageInterface`for any `Doctrine\Common\Cache\CacheProvider`.

Use Redis
---------

[](#use-redis)

Given:

1. REDIS\_HOST and REDIS\_PORT are set as environment variables. You might use parameters instead, too.
2. And redis extension is installed

```
  app.profiler.redis:
      class: \Redis
      calls:
        - [ pconnect, [ '%env(REDIS_HOST)%', '%env(REDIS_PORT)%' ]]

  app.profiler.redis_cache:
      class: Doctrine\Common\Cache\RedisCache
      calls:
        - [ setNamespace, [ "profiler-" ]]
        - [ setRedis, [ "@app.profiler.redis" ]]

  profiler.storage:
      class: DracoBlue\DoctrineCacheProfileStorage\DoctrineCacheProfileStorage
      arguments:
          - "@app.profiler.redis_cache"
```

Use Memcached
-------------

[](#use-memcached)

Given:

1. MEMCACHED\_HOST and MEMCACHED\_PORT are set as environment variables. You might use parameters instead, too.
2. And memcached extension is installed

```
  app.profiler.memcached:
      class: \Memcached
      arguments:
        - "profiler"
      calls:
        - [ addServer, [ '%env(MEMCACHED_HOST)%', '%env(MEMCACHED_PORT)%' ]]

  app.profiler.memcached_cache:
      class: Doctrine\Common\Cache\MemcachedCache
      calls:
        - [ setMemcached, [ "@app.profiler.memcached" ]]

  profiler.storage:
      class: DracoBlue\DoctrineCacheProfileStorage\DoctrineCacheProfileStorage
      arguments:
          - "@app.profiler.memcached_cache"
```

License
-------

[](#license)

This work is copyright by DracoBlue () and licensed under the terms of MIT License.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2733d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/40ec115d06e25c329149d65212b791c88ed935ef74ed144f40f2336cbfd3079a?d=identicon)[DracoBlue](/maintainers/DracoBlue)

---

Top Contributors

[![DracoBlue](https://avatars.githubusercontent.com/u/35926?v=4)](https://github.com/DracoBlue "DracoBlue (1 commits)")

---

Tags

symfonyprofilercache

### Embed Badge

![Health badge](/badges/dracoblue-doctrine-cache-profile-storage/health.svg)

```
[![Health](https://phpackages.com/badges/dracoblue-doctrine-cache-profile-storage/health.svg)](https://phpackages.com/packages/dracoblue-doctrine-cache-profile-storage)
```

###  Alternatives

[tedivm/stash-bundle

Incorporates the Stash caching library into Symfony.

841.4M16](/packages/tedivm-stash-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
