PHPackages                             simplesoftwareio/simple-cache - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. simplesoftwareio/simple-cache

ActiveLibrary[Database &amp; ORM](/categories/database)

simplesoftwareio/simple-cache
=============================

An easy to use caching trait for Laravel's Eloquent Models.

1.0.0(9y ago)2310.3kMITPHP

Since Dec 21Pushed 3y ago3 watchersCompare

[ Source](https://github.com/SimpleSoftwareIO/simple-cache)[ Packagist](https://packagist.org/packages/simplesoftwareio/simple-cache)[ RSS](/packages/simplesoftwareio-simple-cache/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (3)Used By (0)

Simple Cache
============

[](#simple-cache)

[![Build Status](https://camo.githubusercontent.com/8e0ac2efaad007a453a210f0533b78e0648d828abcbd27787eddd938dcd6cf1a/68747470733a2f2f7472617669732d63692e6f72672f53696d706c65536f667477617265494f2f73696d706c652d63616368652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/SimpleSoftwareIO/simple-cache)[![Latest Stable Version](https://camo.githubusercontent.com/e5a2eb4ec5c62277be1f1ccfd4d9cc34c785034e112e0c6c7a09d9b1c8e60067/68747470733a2f2f706f7365722e707567782e6f72672f73696d706c65736f667477617265696f2f73696d706c652d63616368652f762f737461626c652e737667)](https://packagist.org/packages/simplesoftwareio/simple-cache)[![Latest Unstable Version](https://camo.githubusercontent.com/32abe4350c555f3cd341c407ffcae7fe803698d78c2a1959bf36a0bbcc124dd2/68747470733a2f2f706f7365722e707567782e6f72672f73696d706c65736f667477617265696f2f73696d706c652d63616368652f762f756e737461626c652e737667)](https://packagist.org/packages/simplesoftwareio/simple-cache)[![License](https://camo.githubusercontent.com/3c63e442b1e46c371404e8aa0d35e9434f7d234ed76153b72fd4a5e29f38cf28/68747470733a2f2f706f7365722e707567782e6f72672f73696d706c65736f667477617265696f2f73696d706c652d63616368652f6c6963656e73652e737667)](https://packagist.org/packages/simplesoftwareio/simple-cache)[![Total Downloads](https://camo.githubusercontent.com/09dfc96866208d3b86c6e4982fbb1c35f1fea64ad3d55176d65d4e5eb6ac4037/68747470733a2f2f706f7365722e707567782e6f72672f73696d706c65736f667477617265696f2f73696d706c652d63616368652f646f776e6c6f6164732e737667)](https://packagist.org/packages/simplesoftwareio/simple-cache)

- [Introduction](#docs-introduction)
- [Configuration](#docs-configuration)
- [Usage](#docs-usage)

Try our dead simple, free file transfer service [keep.sh](https://keep.sh)
--------------------------------------------------------------------------

[](#try-our-dead-simple-free-file-transfer-service-keepsh)

Configuration
-------------

[](#configuration)

#### Composer

[](#composer)

First, add the Simple Cache package to your `require` in your `composer.json` file:

```
"require": {
	"simplesoftwareio/simple-cache": "~1"
}

```

Next, run the `composer update` command.

Usage
-----

[](#usage)

The cacheable trait may be used by adding the trait to the Eloquent model of your choice.

```
