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 5d ago

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 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity56

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

2242d 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.8k8.2M51](/packages/spatie-laravel-responsecache)[omaralalwi/lexi-translate

Laravel translation package with morph relationships and caching.

754.3k2](/packages/omaralalwi-lexi-translate)[michele-angioni/support

Support is a Laravel package which promotes the use of best practices and design patterns.

181.4k1](/packages/michele-angioni-support)[makbulut/laravel-aerospike

Aerospike cache driver for Laravel

102.2k](/packages/makbulut-laravel-aerospike)

PHPackages © 2026

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