Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Eloquent Query Cache Laravel Package

rennokki/laravel-eloquent-query-cache

View on GitHub
Deep Wiki
Context7
3.4.0
3.3.1
3.3.0
3.2.0
3.1.4
3.1.3
2.7.1
3.1.2
3.1.1
3.1.0
3.0.0

Read the 3.x Documentation on Many-to-Many Automatic Cache Invalidation

getCacheTagsToInvalidateOnUpdate changed:

For invalidation on many-to-many relations, $relation will be the name of the relation (posts, roles, etc.) while $pivotedModels will be a collection of models that got attached/detached/updated (Post, Role, etc.)

public function getCacheTagsToInvalidateOnUpdate($relation = null, $pivotedModels = null): array
{
    //
}
2.7.0
2.5.1

Security patches

2.5.0
  • Dropped Laravel 6.x
  • Dropped PHP 7.2
  • Added PHP 8.0
2.4.2
2.4.1
2.4.0
  • Laravel 8.x
2.3.0
2.2.0
2.1.0
2.0.0

Breaking changes:

  • boot() method within the model gets replaced

Please see the README docs about this breaking changes feature:

1.4.0

This update adds the ability to purge cache for all queries related to a model.

Since the tags that are used on cache calls changed, apps that already use the package in production and rely heavily on the cache might see spikes on database usage since the tags no longer match with the already-existing cache.

Make sure that you provide enough resources to supply the spike in usage.

See PR for all the changes: https://github.com/rennokki/laravel-eloquent-query-cache/pull/19

1.3.1
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle