directorytree/metrics
Record and query metrics in Laravel with a simple, elegant API. Track page views, API calls, signups, and other events with optional values, categories, dates, hourly buckets, model-scoped metrics, and custom attributes. Supports Redis and extensible drivers.
api:requests by category:users).source, country).date() method for migrations or audits.feature:usage by user_segment).trial:to:paid).jobs:completed, app:errors by severity).cta:clicks with variant:blue).Adopt if:
Look elsewhere if:
*"This package lets us build analytics features 10x faster without sacrificing flexibility. For example:
*"This is a batteries-included metrics solution for Laravel that handles:
metric('signups')->record()), categories, and custom attributes.Key Selling Points: ✅ Developer Productivity: Drop-in replacement for manual metric tracking. ✅ Scalability: Redis driver for high-throughput apps. ✅ Flexibility: Supports models, custom attributes, and backfilling. ✅ Cost-Effective: No SaaS fees; self-hosted and open-source.
How can I help you explore Laravel packages today?