dutchcodingcompany/cached-valuestore

Cached version of spatie/valuestore

0.6.0 2024-04-26 10:51 UTC

This package is auto-updated.

Last update: 2024-11-26 12:04:54 UTC


README

Latest Version on Packagist Total Downloads

Adds a cached version of spatie/valuestore and registers it to the service container.

Installation

You can install the package via composer:

composer require dutchcodingcompany/cached-valuestore

Events

Three events are triggered:

  • DutchCodingCompany\CachedValuestore\Events\PutIntoValuestore, triggered by put, prepend, push, offsetSet, increment and decrement
  • DutchCodingCompany\CachedValuestore\Events\ForgetFromValuestore, triggered by forget
  • DutchCodingCompany\CachedValuestore\Events\FlushValuestore, triggered by flush and flushStartingWith

License

The MIT License (MIT). Please see License File for more information.