An open API service indexing awesome lists of open source software.

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

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