PHPackages                             arnaudbagnis/lumberjack-cache-provider - 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. arnaudbagnis/lumberjack-cache-provider

ActivePackage[Caching](/categories/caching)

arnaudbagnis/lumberjack-cache-provider
======================================

Add a Symfony Cache provider into a Lumberjack

00PHP

Since Mar 13Pushed 3y ago1 watchersCompare

[ Source](https://github.com/arnaudbagnis/lumberjack-cache-provider)[ Packagist](https://packagist.org/packages/arnaudbagnis/lumberjack-cache-provider)[ RSS](/packages/arnaudbagnis-lumberjack-cache-provider/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Lumberjack Cache Provider
=========================

[](#lumberjack-cache-provider)

Lumberjack Cache Provider is a package that allows you to use the Symfony Cache Component in Lumberjack applications. With this package, you can easily implement caching to improve the performance of your Lumberjack application.

Installation
------------

[](#installation)

You can install the package via Composer:

`composer require arnaudbagnis/lumberjack-cache-provider `

Usage
-----

[](#usage)

### Using Symfony Cache

[](#using-symfony-cache)

Symfony Cache is a powerful caching system that supports many different types of caching, including file, array, APCu, Redis, and more. To use Symfony Cache, you first need to create an instance of the cache you want to use. Here's an example of creating a file-based cache:

```
use Symfony\Component\Cache\Adapter\FilesystemAdapter;
$cache = new FilesystemAdapter();

```

Once you have a cache instance, you can use it to store and retrieve data. Here's an example of storing data in the cache:

```
$cache->set('my_key', 'my_value');

```

And here's an example of retrieving data from the cache:

```
$value = $cache->get('my_key');

```

### Adding CacheProvider to LumberjackAdding CacheProvider to Lumberjack

[](#adding-cacheprovider-to-lumberjackadding-cacheprovider-to-lumberjack)

To add the CacheProvider to your Lumberjack application, you need to add it to the list of providers in the app.php file of your theme. Here's an example:

```
return [
    // ...

    /**
     * List of providers to initialise during app boot
     */
    'providers' => [
        // ...
        CacheProvider::class,
    ],

    // ...

    'aliases' => [
        // ...
        'Cache' => CacheProvider::class,
    ],
];

```

Once you've added the provider, you can access the Symfony Cache instance using the Cache alias, like this:

```
Cache::set('my_key', 'my_value');
$value = Cache::get('my_key');

```

That's it! Now you can use Symfony Cache in your Lumberjack application to improve its performance

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/95b30036627452488755b27e920056824620e070fb0d85d5048a720da5361b9c?d=identicon)[arnaudbagnis](/maintainers/arnaudbagnis)

### Embed Badge

![Health badge](/badges/arnaudbagnis-lumberjack-cache-provider/health.svg)

```
[![Health](https://phpackages.com/badges/arnaudbagnis-lumberjack-cache-provider/health.svg)](https://phpackages.com/packages/arnaudbagnis-lumberjack-cache-provider)
```

###  Alternatives

[iazaran/smart-cache

Smart Cache is a caching optimization package designed to enhance the way your Laravel application handles data caching. It intelligently manages large data sets by compressing, chunking, or applying other optimization strategies to keep your application performant and efficient.

21114.2k](/packages/iazaran-smart-cache)[phpfastcache/phpssdb

PHP SSDB Driver for phpFastCache

14736.9k1](/packages/phpfastcache-phpssdb)[rapidwebltd/rw-file-cache

RW File Cache is a PHP File-based Caching Library. Its syntax is designed to closely resemble the PHP memcache extension.

15196.8k7](/packages/rapidwebltd-rw-file-cache)[yuzuru-s/redis-recommend

Wrapping Redis's sorted set APIs for specializing recommending operations.

392.9k](/packages/yuzuru-s-redis-recommend)[ichhabrecht/intcache

Turn uncachable page objects into cacheable links

193.9k](/packages/ichhabrecht-intcache)

PHPackages © 2026

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