Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dutchcodingcompany/cached-valuestore
https://github.com/dutchcodingcompany/cached-valuestore
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dutchcodingcompany/cached-valuestore
- Owner: DutchCodingCompany
- License: mit
- Created: 2020-12-11T12:54:57.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-26T10:51:50.000Z (9 months ago)
- Last Synced: 2025-01-06T13:14:22.235Z (4 days ago)
- Language: PHP
- Size: 14.6 KB
- Stars: 0
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Cached Valuestore
[![Latest Version on Packagist](https://img.shields.io/packagist/v/dutchcodingcompany/cached-valuestore.svg?style=flat-square)](https://packagist.org/packages/dutchcodingcompany/cached-valuestore)
[![Total Downloads](https://img.shields.io/packagist/dt/dutchcodingcompany/cached-valuestore.svg?style=flat-square)](https://packagist.org/packages/dutchcodingcompany/cached-valuestore)Adds a cached version of `spatie/valuestore` and registers it to the service container.
## Installation
You can install the package via composer:
```bash
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](LICENSE.md) for more information.