dutchcodingcompany/cached-valuestore

Cached version of spatie/valuestore

0.5.0 2023-06-06 13:24 UTC

This package is auto-updated.

Last update: 2024-04-06 15:21:12 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.