Download the PHP package litermi/cache-query-builder without Composer
On this page you can find all versions of the php package litermi/cache-query-builder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package cache-query-builder
Cache Query Builder for Laravel
About
The cache-query-builder
package allows you to increase the performance and low pressure to database request.
Tutorial how create composer package
Features
- cache query getting columns and values
- cache sub query / relationship
- set time individual by model
- methods to get and first values from cache
- methods to save, insert, delete to cache
Installation
Require the litermi/cache-query-builder
package in your composer.json
and update your dependencies:
Configuration
set provider
The defaults are set in config/cache-query.php
. Publish the config to copy the file to your own config:
Note: this is necessary to you can change default config
Usage
To cache for query you need use extend Class
To cache for query you need use methods: getFromCache or firstCache
if you want purge cache can use methods: saveWithCache, insertWithCache, deleteWithCache
License
Released under the MIT License, see LICENSE.
All versions of cache-query-builder with dependencies
spatie/laravel-query-builder Version ^3.6|^5.0|^5.8
illuminate/database Version ^6.9|^7.0|^8.0|^9.0|^10.0|^11.0
illuminate/http Version ^6.9|^7.0|^8.0|^9.0|^10.0|^11.0
illuminate/contracts Version ^6.9|^7.0|^8.0|^9.0|^10.0|^11.0
illuminate/config Version ^6.9|^7.0|^8.0|^9.0|^10.0|^11.0
illuminate/console Version ^6.9|^7.0|^8.0|^9.0|^10.0|^11.0
kirschbaum-development/eloquent-power-joins Version ^2.5|^2.6|^3.5
litermi/error-notification Version ^1.0
litermi/logs Version ^1.0
litermi/response Version ^1.0