Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/morphable/simplecache

A simple caching component
https://github.com/morphable/simplecache

cache composer php simple

Last synced: 13 days ago
JSON representation

A simple caching component

Awesome Lists containing this project

README

        

# Simple cache component
A simple cache component, easy to implement into any system
## Installing
```terminal
$ composer require morphable/simple-cache
```
## Usage
```php
set('my_cache_item', $cacheItem);
$cache->exists('my_cache_item'); // true
$cache->get('my_cache_item');
$cache->delete('my_cache_item');

```
## Create your own content serializer
```php