https://github.com/mako-framework/simple-cache
A Simple Cache adapter for the Mako Framework.
https://github.com/mako-framework/simple-cache
mako-framework mako-package php psr-16 simple-cache
Last synced: 10 months ago
JSON representation
A Simple Cache adapter for the Mako Framework.
- Host: GitHub
- URL: https://github.com/mako-framework/simple-cache
- Owner: mako-framework
- License: bsd-3-clause
- Created: 2020-09-30T17:44:36.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-02-25T17:11:58.000Z (about 1 year ago)
- Last Synced: 2025-04-12T20:52:11.602Z (about 1 year ago)
- Topics: mako-framework, mako-package, php, psr-16, simple-cache
- Language: PHP
- Homepage:
- Size: 56.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mako Simple Cache
[](https://github.com/mako-framework/simple-cache/actions?query=workflow%3ATests)
[](https://github.com/mako-framework/simple-cache/actions/workflows/static-analysis.yml)
A [Simple Cache](https://www.php-fig.org/psr/psr-16/) adapter for the Mako Framework.
## Requirements
Mako 11.0 or greater.
## Installation
Install the package using the following composer command:
```
composer require mako/simple-cache
```
## Usage
Create a `SimpleCache` object by injecting a Mako cache store instance and you're good to go.
```
$simpleCache = new SimpleCache($this->cache->instance());
```