Skip to main content
Back to packages
592 GitHub stars

spiritix/lada-cache

View on GitHub

Description

A Redis based, fully automated and scalable database cache layer for Laravel.

After installation, Lada Cache works automatically.
No code changes or caching calls are required - all database queries are transparently cached and invalidated.

You can control global behavior via .env:

LADA_CACHE_ACTIVE=true
LADA_CACHE_DEBUGBAR=true

Console Commands

# Flush all cached entries
php artisan lada-cache:flush
 
# Temporarily disable cache
php artisan lada-cache:disable
 
# Re-enable cache
php artisan lada-cache:enable

Recent Courses on Laravel Daily