Skip to content

codeofdigital/cache-repository

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Cache Repository

Laravel Repository design pattern package that comes with caching features

Latest Version on Packagist Latest Release on GitHub GitHub license Total downloads

Overview

Laravel package that revolves around Repository design pattern to encapsulate database-related functions, making our application more flexible and classes are reusable. Comes with normal repository features and caching features as well.

Table of Contents

Installation

Composer

Execute the following command to get the latest version of the package:

composer require codeofdigital/cache-repository

Publish Config

You can then publish the package's config file and database migrations file with the following command:

php artisan vendor:publish --provider="CodeOfDigital\CacheRepository\CacheRepositoryServiceProvider"