Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/morphable/simplecache
- Owner: Morphable
- License: mit
- Created: 2018-10-15T17:17:16.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-17T19:12:52.000Z (about 5 years ago)
- Last Synced: 2024-11-24T17:02:13.681Z (about 1 month 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