PHPackages                             alaraiabdiallah/laravel-model-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. [Caching](/categories/caching)
4. /
5. alaraiabdiallah/laravel-model-cache

ActiveLibrary[Caching](/categories/caching)

alaraiabdiallah/laravel-model-cache
===================================

Laravel model cache

566PHP

Since Aug 29Pushed 7y agoCompare

[ Source](https://github.com/alaraiabdiallah/laravel-model-cache)[ Packagist](https://packagist.org/packages/alaraiabdiallah/laravel-model-cache)[ RSS](/packages/alaraiabdiallah-laravel-model-cache/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Model Cache
===================

[](#laravel-model-cache)

This package is simple way to cache model query to collection.

Installation
------------

[](#installation)

```
composer require "alaraiabdiallah/laravel-model-cache":"dev-master"

```

Example
-------

[](#example)

You required to make scope Cache Query for register query to cache. This example it will select all data from user model then cache it

```
