PHPackages                             beep/cachoid - 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. [Caching](/categories/caching)
4. /
5. beep/cachoid

ActiveLibrary[Caching](/categories/caching)

beep/cachoid
============

Cachoid provides an expressive API for caching models, collections, and paginators.

v1.2.0(8y ago)477MITPHP

Since Jul 11Pushed 8y agoCompare

[ Source](https://github.com/gobeepboop/cachoid)[ Packagist](https://packagist.org/packages/beep/cachoid)[ RSS](/packages/beep-cachoid/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (9)Versions (22)Used By (0)

Cachoid
=======

[](#cachoid)

Cachoid provides an expressive API for caching models, collections, and paginators, utilizing the Laravel Taggable Cache Stores.

*Documentation is currently under work.*

Installation
============

[](#installation)

First, install Cachoid via the Composer Package manager:

```
composer require beep/cachoid

```

Next, you should add the `CachoidServiceProvider` to the `providers` array of your `config/app.php` configuration file:

```
\Beep\Cachoid\CachoidServiceProvider::class,
```

If `Cachoid` facade usage is preferred, add to the `aliases` array of your `config/app.php`:

```
'Cachoid' => Beep\Cachoid\Facade::class,
```

Finally, add the `Beep\Cachoid\Cacheable` trait to the model you would like to make cacheable. This trait will register a model observer to keep the model synchronized with Cachoid:

```
