Download the PHP package emilhorlyck/laravel-poly-metrics without Composer
On this page you can find all versions of the php package emilhorlyck/laravel-poly-metrics. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download emilhorlyck/laravel-poly-metrics
More information about emilhorlyck/laravel-poly-metrics
Files in emilhorlyck/laravel-poly-metrics
Download emilhorlyck/laravel-poly-metrics
More information about emilhorlyck/laravel-poly-metrics
Files in emilhorlyck/laravel-poly-metrics
Vendor emilhorlyck
Package laravel-poly-metrics
Short Description This is my package laravel-poly-metrics
License MIT
Homepage https://github.com/emilhorlyck/laravel-poly-metrics
Package laravel-poly-metrics
Short Description This is my package laravel-poly-metrics
License MIT
Homepage https://github.com/emilhorlyck/laravel-poly-metrics
Please rate this library. Is it a good library?
Informations about the package laravel-poly-metrics
This is laravel-poly-metrics
to log metrics for multiple models
This package allows you to log metrics for multiple models, and even without relation to a models in laravel.
Features
- [x] Log metrics without relation to a model
- [x] Daily resolution
- [x] Monthly resolution
- [x] Log metrics with relation to a model
- [x] Daily resolution
- [x] Monthly resolution
- [x] Offer traits to easily log metrics on models
- [ ] Offer command to purge old metrics
- [ ] Offer command to purge old metrics for a specific model
- [ ] Deafult scheduled command to purge old metrics
Installation
You can install the package via composer:
You can publish all the necessary files with:
You can them run the migrations with:
Usage
Log metrics without relation to a model
Log metrics with relation to a model
Add the HasMetrics
trait to your model.
Log metrics on the model
Credits
- Emil Hørlyck
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-poly-metrics with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0
The package emilhorlyck/laravel-poly-metrics contains the following files
Loading the files please wait ....