PHPackages                             ryssbowh/laravel-array-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. ryssbowh/laravel-array-cache

ActiveLibrary[Caching](/categories/caching)

ryssbowh/laravel-array-cache
============================

Helper to cache using dotted array keys in Laravel

1.0(6y ago)05MITPHP

Since Mar 27Pushed 6y ago1 watchersCompare

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

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

Array Cache
===========

[](#array-cache)

This is a helper to save cache looking at keys as dotted arrays. So we are able to clear any sub-array we want. example : I have three cache keys `fields.object1.value1` , `fields.object1.value2` and `fields.object2.value1`, if we look at them as dotted arrays it would look like this :

- fields
    - object1
        - value1
        - value2
    - object2
        - value1

calling `\ArrayCache::forget('fields.object1')` will forget `fields.object1.value1` and `fields.object1.value2`. calling `\ArrayCache::forget('fields')` will forget the 3 keys.

This has been tested and used on Laravel 5.7 and 5.8 only.

Available methods
-----------------

[](#available-methods)

All methods for retrieving/forgetting keys from the Laravel cache repository are available

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

[](#installation)

Install package through composer : `composer require ryssbowh/laravel-array-cache`

Register the service provider `Ryssbowh\ArrayCache\ArrayCacheServiceProvider`

Add the facade `Ryssbowh\ArrayCache\Facade\ArrayCache`

###  Health Score

24

—

LowBetter than 30% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

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

2334d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6736613?v=4)[The Web Puzzlers](/maintainers/ryssbowh)[@ryssbowh](https://github.com/ryssbowh)

---

Tags

cachecachinglaravellaravel5laravelcache

### Embed Badge

![Health badge](/badges/ryssbowh-laravel-array-cache/health.svg)

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

###  Alternatives

[spatie/laravel-responsecache

Speed up a Laravel application by caching the entire response

2.8k9.3M74](/packages/spatie-laravel-responsecache)[mike-bronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k161.4k2](/packages/mike-bronner-laravel-model-caching)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

46273.9k](/packages/harris21-laravel-fuse)[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)[omaralalwi/lexi-translate

Laravel translation package with morph relationships and caching.

7318.8k8](/packages/omaralalwi-lexi-translate)

PHPackages © 2026

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