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

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.

Awesome Lists containing this project

README

          

# Mako Simple Cache

[![Build Status](https://github.com/mako-framework/simple-cache/workflows/Tests/badge.svg)](https://github.com/mako-framework/simple-cache/actions?query=workflow%3ATests)
[![Static analysis](https://github.com/mako-framework/simple-cache/actions/workflows/static-analysis.yml/badge.svg)](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());
```