PHPackages                             unikent/tfilecache - 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. unikent/tfilecache

ActiveLibrary[Caching](/categories/caching)

unikent/tfilecache
==================

Taggable File Cache driver for Laravel. Allows the use of Cache tags with a file cache.

2.0.2(9y ago)2432.1k↓20%9[2 PRs](https://github.com/unikent/taggedFileCache/pulls)3PHP

Since Mar 8Pushed 3y ago8 watchersCompare

[ Source](https://github.com/unikent/taggedFileCache)[ Packagist](https://packagist.org/packages/unikent/tfilecache)[ RSS](/packages/unikent-tfilecache/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (12)Used By (3)

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

[](#laravel-taggable-file-cache)

This package provides a custom file [cache driver](https://laravel.com/docs/5.1/cache#adding-custom-cache-drivers) that supports [Cache Tags](https://laravel.com/docs/5.1/cache#cache-tags) for Laravel 5.1 or Lumen 5.2+.

Usage
-----

[](#usage)

This product is publicly available under the terms of the MIT license included in this repository. Please refer to the current [brand guidelines](https://www.kent.ac.uk/brand) for use of the existing brand.

Installation and Requirements
-----------------------------

[](#installation-and-requirements)

First, you'll need to require the package with Composer:

```
composer require unikent/tfilecache

```

Then, update `config/app.php` by adding an entry for the service provider.

```
'providers' => [
    // ...
    Unikent\Cache\TaggableFileCacheServiceProvider::class
];

```

Finally, add the necessary config to `config\cache.php`.

```
'default' => env('CACHE_DRIVER', 'tfile'),

'stores' => [

		'tfile' => [
			'driver' => 'tfile',
			'path'   => storage_path('framework/cache')
		],
		// ...
],

```

Optional Configuration
----------------------

[](#optional-configuration)

There are some optional config options available in the store definition above:

`queue` : accepts the string name of a queue to use for [tag clean up](#tag-cleanup), 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. defaults to `~#~` if omitted.

Tag Cleanup
-----------

[](#tag-cleanup)

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/5.1/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

41

—

FairBetter than 89% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity70

Established project with proven stability

 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

Every ~31 days

Recently: every ~49 days

Total

9

Last Release

3475d ago

Major Versions

1.0.7 → 2.0.12016-10-23

1.0.8 → 2.0.22016-11-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/d6fffeeef81877fdfaa26746e2dda067be2499d9ee1c22e655891fb86b7f4bc8?d=identicon)[cs462-unikent](/maintainers/cs462-unikent)

![](https://www.gravatar.com/avatar/d0b31a8485a38b583be4ac59ad9e0b1af20094dc7076521c8dcb452e40da90e5?d=identicon)[do225-unikent](/maintainers/do225-unikent)

---

Top Contributors

[![gjmh-unikent](https://avatars.githubusercontent.com/u/9929369?v=4)](https://github.com/gjmh-unikent "gjmh-unikent (15 commits)")

### Embed Badge

![Health badge](/badges/unikent-tfilecache/health.svg)

```
[![Health](https://phpackages.com/badges/unikent-tfilecache/health.svg)](https://phpackages.com/packages/unikent-tfilecache)
```

###  Alternatives

[react/cache

Async, Promise-based cache interface for ReactPHP

444112.4M40](/packages/react-cache)[wp-media/wp-rocket

Performance optimization plugin for WordPress

7431.3M3](/packages/wp-media-wp-rocket)[illuminate/cache

The Illuminate Cache package.

12835.6M1.4k](/packages/illuminate-cache)[colinmollenhour/php-redis-session-abstract

A Redis-based session handler with optimistic locking

6325.6M14](/packages/colinmollenhour-php-redis-session-abstract)[cheprasov/php-redis-client

Php client for Redis. It is a fast, fully-functional and user-friendly client for Redis, optimized for performance. RedisClient supports the latest versions of Redis starting from 2.6 to 6.0

1281.2M21](/packages/cheprasov-php-redis-client)[amphp/redis

Efficient asynchronous communication with Redis servers, enabling scalable and responsive data storage and retrieval.

165634.7k44](/packages/amphp-redis)

PHPackages © 2026

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