PHPackages                             microweber-packages/laravel-tagged-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. microweber-packages/laravel-tagged-file-cache

ActiveLibrary[Caching](/categories/caching)

microweber-packages/laravel-tagged-file-cache
=============================================

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

0.1.4(5y ago)11.2k2[1 issues](https://github.com/microweber-packages/laravel-tagged-file-cache/issues)MITPHPCI failing

Since Mar 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/microweber-packages/laravel-tagged-file-cache)[ Packagist](https://packagist.org/packages/microweber-packages/laravel-tagged-file-cache)[ Docs](http://microweber.com)[ RSS](/packages/microweber-packages-laravel-tagged-file-cache/feed)WikiDiscussions master Synced yesterday

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

Laravel Taggable File Cache [![Build Status](https://camo.githubusercontent.com/5d1dcbf563563d25f716c160cd1f68ccaee33e13c59ff7720ba7597896369261/68747470733a2f2f6170692e7472617669732d63692e6f72672f6d6963726f77656265722d7061636b616765732f6c61726176656c2d7461676765642d66696c652d63616368652e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/5d1dcbf563563d25f716c160cd1f68ccaee33e13c59ff7720ba7597896369261/68747470733a2f2f6170692e7472617669732d63692e6f72672f6d6963726f77656265722d7061636b616765732f6c61726176656c2d7461676765642d66696c652d63616368652e7376673f6272616e63683d6d6173746572)
=============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

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

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

Usage
-----

[](#usage)

This product is publicly available under the terms of the MIT license included in this repository.

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

[](#installation-and-requirements)

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

```
composer require microweber-packages/laravel-tagged-file-cache

```

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

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

```

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

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

'stores' => [

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

```

You are ready to use tag file caching..

```
$minutes = 1111 * 4;
$tags = ['people', 'cars', 'shamans'];
Cache::tags($tags)->put('name', 'John', $minutes);

$name = Cache::tags($tags)->get('name');
var_dump($name); // Output: John

// If you want to delete tags
Cache::tags($tags)->flush();

```

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

[](#optional-configuration)

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

`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.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

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

Every ~195 days

Total

2

Last Release

2156d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/50577633?v=4)[Bozhidar Slaveykov](/maintainers/bobimicroweber)[@bobimicroweber](https://github.com/bobimicroweber)

---

Top Contributors

[![bobimicroweber](https://avatars.githubusercontent.com/u/50577633?v=4)](https://github.com/bobimicroweber "bobimicroweber (14 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/microweber-packages-laravel-tagged-file-cache/health.svg)

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

###  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)[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)
