Generate metrics and trends data from your database
Generate metrics and trends data from your database.
You can install the package via composer:
composer require eliseekn/laravel-metrics
//generate user count trends for your chart $userTrends = LaravelMetrics::getTrends('users', 'id', LaravelMetrics::YEAR, LaravelMetrics::COUNT); //track expenses for a specific period $expensesMetrics = LaravelMetrics::getMetrics('expenses', 'amount', LaravelMetrics::QUATER_YEAR, LaravelMetrics::SUM);
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email firstname.lastname@example.org instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.
This package was generated using the Laravel Package Boilerplate.