Model Caching for Laravel Impetus I created this package in response to a client project that had complex, nested forms with many 's that resulted in over 700 database queries on one page. I needed a package that abstracted the caching process out of the model for me, and one that would...
is in the works.-using select() clauses in Eloquent queries, see #238 (work-around discussed in the issue)-using transactions. If you are using transactions, you will likely have to manually flush the cache, see [issue #305](https://github.com/GeneaLabs/laravel-model-caching/issues/305...
Require this package in your composer.json and run composer update (or run composer require farzinft/laravel-model-caching:dev-master directly):"farzin/laravel-model-caching": "dev-master" You need to publish the config file for this package. This will add the file config/model-caching.php,...
string and array helpers to use theStrandArrclasses directly, in preparation for helper deprecations in Laravel 5.9. Thanks @mycarrysun disabling of model caching on relationship queries if model caching was disabled on the model. Thanks @mycarrysun ...
Describe the bug When using Laravel Nova to attach a model to a hasMany relationship, it doesn't invalidate the cache, and the new model doesn't show up until it's manually cleared. Eloquent Query Please provide the complete eloquent que...
Laravel Visits is a counter that can be attached to any model to track its visits with useful features like IP-protection and lists caching. Install To get started with Laravel Visits, use Composer to add the package to your project's dependencies (or read more about installlation onInstallati...