Skip to content

v2.1.0 - Dashboard Auto-Discovery

Choose a tag to compare

@ibra379 ibra379 released this 24 Dec 04:27
· 8 commits to main since this release

🚀 What's New

Model Auto-Discovery

La dashboard ora rileva automaticamente tutti i modelli che usano il trait HasSmartCache - non serve più inserire manualmente i nomi delle classi!

Quick Invalidation Buttons

Ogni modello mostrato nella dashboard ha un pulsante "Invalidate" per svuotare la cache con un click.

✨ Features

  • SmartCacheDiscovery - Nuova classe per scansionare e scoprire modelli cachati
  • Cached Models Section - Sostituisce la sezione "Recent Queries" (era inutile, in-memory)
  • clearTable() method - Invalidazione cache più semplice, basata su tabella

🧪 Testing

  • 59 tests con 111 assertions
  • PHPStan level max ✅

📦 Installation

composer require diallo-ibrahima/smart-cache:^2.1