codeofdigital / cache-repository
Laravel Repository Package with Caching
Installs: 4 225
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- illuminate/config: ~6.0|~7.0|^8.0|^9.0
- illuminate/console: ~6.0|~7.0|^8.0|^9.0
- illuminate/database: ~6.0|~7.0|^8.0|^9.0
- illuminate/filesystem: ~6.0|~7.0|^8.0|^9.0
- illuminate/http: ~6.0|~7.0|^8.0|^9.0
- illuminate/pagination: ~6.0|~7.0|^8.0|^9.0
- illuminate/support: ~6.0|~7.0|^8.0|^9.0
- illuminate/validation: ~6.0|~7.0|^8.0|^9.0
Requires (Dev)
- orchestra/testbench: ^4.0|^5.0|^6.0
- phpunit/phpunit: ^8.2
README
Laravel Repository design pattern package that comes with caching features
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"