Skip to content

Beacon MetricsSimple Metrics for Laravel

composer require beacon-hq/metrics

What is Beacon Metrics?

Beacon Metrics was created to provide a simple way to calculate metrics and trends for Beacon and other Laravel applications.

It provides a fluent API that enables you to easily and quickly calculate metrics and trends for your application.

php
Metrics::query(MyModel::query())
    ->count()
    ->byDay()
    ->between(now()->subMonth(), now())
    ->trends();

Made with 🦁💖🏳️‍🌈 by Davey Shafik.