Weave Code
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

Laracache Laravel Package

mostafaznv/laracache

View on GitHub
Deep Wiki
Context7
3.0.0

This release focuses on performance improvements, modern PHP support, and codebase refinement, with the introduction of the new debounce feature to reduce redundant cache regeneration.

✨ New Features

  • Debounce support for cache regeneration
  • Helps reduce unnecessary database queries and improves overall efficiency.

🐛 Bug Fixes

  • Fixed debounce logic to correctly respect cache entity callability during initialization and testing.
  • Ensured queueable cache entities properly respect creation rules.
  • Prevented negative TTL values with stricter validation.

🔧 Improvements & Refactors

  • Migrated custom cache enums to native PHP enums.
  • Updated method signatures to use stricter typing and nullable parameters where applicable.
  • Replaced mixed types with explicit string types.
  • Improved exception messages for clarity and consistency.
  • Made internal model properties readonly where applicable.
  • Simplified conditional logic and improved overall code readability.
  • Cleaned up imports, spacing, and removed redundant docblocks.
  • Standardized command signatures and formatting across cache commands.

📦 Compatibility

  • Added support for PHP 8.3+
  • Updated compatibility for Laravel 12+
2.5.2
  • support php 8.5
2.5.1
  • fix: implicitly marking parameter warning
2.5.0
  • feat: add debounce functionality to cache refresh process
2.4.0

What's Changed

New Contributors

Full Changelog: https://github.com/mostafaznv/laracache/compare/2.3.5...2.4.0

2.3.5
  • fix a bug related to setting default queue connection
2.3.4

What's Changed

New Contributors

Full Changelog: https://github.com/mostafaznv/laracache/compare/2.3.3...2.3.4

2.3.3
  • return default value in the 'get' method when the cached value has not been generated yet
  • update documentation
2.3.2
  • register artisan commands outside console env
2.3.1
  • GetValue method added to CacheEnum.php
2.3.0
  • Process cache operations completely inside the queue
  • Update cache entities using artisan command
  • Delete cache entities using artisan command
  • Update/Delete cache groups using artisan command
  • Create a list to keep all models which are using LaraCache trait
2.2.0
  • Support Laravel 10.x
2.1.0
  • Delete all cache entities of model
  • Delete all LaraCache entities
  • Update all LaraCache entities
  • Add restore event to cache events
  • Use custom driver for cache entities
  • Set isQueueable flag both from global configuration and cache entity object
  • Store cache entities using prefix
  • Code improvement
  • Bugfix
2.0.1
  • check cacheClosure to prevent using call_user_func with null value
2.0.0
  • All cache management functions moved to cache() static function
  • Update cache on restore event
1.0.0
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.
besmartand-pro/php-quality-config
sentix/ai-chatbot
terminal42/code-quality-tools
codifyo/ts-generator-bundle
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity