codeofdigital/cache-repository

Laravel Repository Package with Caching

v1.1.2 2023-04-07 09:19 UTC

This package is auto-updated.

Last update: 2024-11-07 12:51:20 UTC


README

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"