https://github.com/grzegorzwalewski/simple-cache
Simple json cache
https://github.com/grzegorzwalewski/simple-cache
Last synced: 5 months ago
JSON representation
Simple json cache
- Host: GitHub
- URL: https://github.com/grzegorzwalewski/simple-cache
- Owner: GrzegorzWalewski
- Created: 2022-11-13T08:53:14.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-14T11:23:58.000Z (about 3 years ago)
- Last Synced: 2025-03-05T08:46:24.413Z (10 months ago)
- Language: PHP
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# The simplest cache You can imagine
I needed simple cache mechanism for my other project, so I made this simple as f*ck module.
# How to install
You need to run `composer require grzojda/simple-cache`
# How to use
```
checkKey('key');
// Set new element's value
$cache->saveValue('key', 'value');
```
# To be implemented
1. Cache clearing
2. Adjust for multi-dimentional elements
3. Allow caching other types of elements/values