https://github.com/morphable/simplecache
A simple caching component
https://github.com/morphable/simplecache
cache composer php simple
Last synced: 3 months ago
JSON representation
A simple caching component
- Host: GitHub
- URL: https://github.com/morphable/simplecache
- Owner: Morphable
- License: mit
- Created: 2018-10-15T17:17:16.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-17T19:12:52.000Z (over 5 years ago)
- Last Synced: 2025-02-16T11:16:04.626Z (5 months ago)
- Topics: cache, composer, php, simple
- Language: PHP
- Homepage: https://packagist.org/packages/morphable/simple-cache
- Size: 20.5 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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