PHPackages                             torann/taggable-file-cache - 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. torann/taggable-file-cache

ActiveLibrary[Caching](/categories/caching)

torann/taggable-file-cache
==========================

A Laravel file cache driver that supports tagging.

1.0.0(8y ago)21.9k1[1 issues](https://github.com/Torann/taggable-file-cache/issues)BSD-2-ClausePHPPHP &gt;=5.6

Since Feb 16Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Torann/taggable-file-cache)[ Packagist](https://packagist.org/packages/torann/taggable-file-cache)[ RSS](/packages/torann-taggable-file-cache/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Taggable File Cache
===================

[](#taggable-file-cache)

[![Latest Stable Version](https://camo.githubusercontent.com/21a24bf00319dee20d5920d03ba382137d525fe14f8ac498b74ce7b8649a3e83/68747470733a2f2f706f7365722e707567782e6f72672f746f72616e6e2f7461676761626c652d66696c652d63616368652f762f737461626c652e706e67)](https://packagist.org/packages/torann/taggable-file-cache) [![Total Downloads](https://camo.githubusercontent.com/fd2cf8becb4969558ea203c7282ec43633eb3360e767edb5c25d9e2b28cf5600/68747470733a2f2f706f7365722e707567782e6f72672f746f72616e6e2f7461676761626c652d66696c652d63616368652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/torann/taggable-file-cache)

A Laravel file [cache driver](https://laravel.com/docs/cache#adding-custom-cache-drivers) that supports tagging.

- [Taggable File Cache on Packagist](https://packagist.org/packages/torann/taggable-file-cache)
- [Taggable File Cache on GitHub](https://github.com/torann/taggable-file-cache)

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

[](#installation)

### Composer

[](#composer)

From the command line run:

```
$ composer require torann/taggable-file-cache

```

### The Service Provider

[](#the-service-provider)

Open up `config/app.php` and find the `providers` key.

```
'providers' => [

    \Torann\TaggableFileCache\TaggableFileCacheServiceProvider::class,

]
```

### Configuration

[](#configuration)

In your `config\cache.php`, create a new store:

```
'tagged_file' => [
    'driver' => 'tagged_file',
    'path' => storage_path('framework/cache'),
]

```

**Optional Configuration**

- `queue`: accepts the string name of a queue to use during [garbage collection](#garbage-collection), will use the default queue if omitted.
- `separator`: defines the separator character or sequence to be used internally, this should be chosen to **never** collide with a key value (default `~#~`)

Garbage Collection
------------------

[](#garbage-collection)

To offset the work of cleaning up cache entries when a tag is flushed this task is added as a Job and queued using laravel's inbuilt [queueing](https://laravel.com/docs/queues).

> **Note:** laravel's default queue driver is `sync` which will result in the job being executed synchronously, it is strongly advised you use an alternate queue driver with appropriate workers to offset this work if you wish to use this cache driver.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

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

3006d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b740fab755b353680beb41191f3b6195d84d9811662960d07f2bf64fde2f7c64?d=identicon)[torann](/maintainers/torann)

---

Top Contributors

[![Torann](https://avatars.githubusercontent.com/u/1406755?v=4)](https://github.com/Torann "Torann (2 commits)")

### Embed Badge

![Health badge](/badges/torann-taggable-file-cache/health.svg)

```
[![Health](https://phpackages.com/badges/torann-taggable-file-cache/health.svg)](https://phpackages.com/packages/torann-taggable-file-cache)
```

###  Alternatives

[spatie/laravel-responsecache

Speed up a Laravel application by caching the entire response

2.8k8.2M51](/packages/spatie-laravel-responsecache)[genealabs/laravel-model-caching

Automatic caching for Eloquent models.

2.4k4.8M26](/packages/genealabs-laravel-model-caching)[mikebronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k127.1k1](/packages/mikebronner-laravel-model-caching)[illuminate/cache

The Illuminate Cache package.

12835.6M1.4k](/packages/illuminate-cache)[laragear/cache-query

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

272122.8k](/packages/laragear-cache-query)[namoshek/laravel-redis-sentinel

An extension of Laravels Redis driver which supports connecting to a Redis master through Redis Sentinel.

38679.0k](/packages/namoshek-laravel-redis-sentinel)

PHPackages © 2026

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