spatie/laravel-stats
Lightweight Laravel package for tracking application stats over time. Record increases and decreases, then query totals, increments, decrements, and differences grouped by day, week, or month for easy trend reporting.
Full Changelog: https://github.com/spatie/laravel-stats/compare/2.3.1...2.4.0
Full Changelog: https://github.com/spatie/laravel-stats/compare/2.3.0...2.3.1
Full Changelog: https://github.com/spatie/laravel-stats/compare/2.2.0...2.3.0
Full Changelog: https://github.com/spatie/laravel-stats/compare/2.1.1...2.2.0
Full Changelog: https://github.com/spatie/laravel-stats/compare/2.0.4...2.1.0
Full Changelog: https://github.com/spatie/laravel-stats/compare/2.0.3...2.0.4
Full Changelog: https://github.com/spatie/laravel-stats/compare/2.0.2...2.0.3
Full Changelog: https://github.com/spatie/laravel-stats/compare/2.0.1...2.0.2
StatsWriter with classname support (StatsWriter::for(MyModel::class))StatsWriter with eloquent-model support (StatsWriter::for($eloquent))StatsWriter with "has-many"-relationship support (StatsWriter::for($model->relationship())) - other relationships are untested yetStatsWriter with custom-attribute support (StatsWriter::for(MyModel::class, ['custom_column' => 'orders]))StatsQuery with relationship-support (StatsQuery::for($model->relationship()))StatsQuery with additional attributes (StatsQuery::for(StatsEvent::class, ['name' => 'OrderStats']))BaseStats with direct writer access (OrderStats::writer() as addition to OrderStats::query())StatsQuery::for($model)->generatePeriods() from public to protectedStatsQuery::getPeriodTimestampFormat() from public to protectedStatsQuery::for($model)->getStatistic() with StatsQuery::for($model)->getAttributes()BaseStats->createEvent()StatsQuery::for(OrderStats::class) with OrderStats::query()StatsEvent::TYPE_SET with DataPoint::TYPE_SETStatsEvent::TYPE_CHANGE with DataPoint::TYPE_CHANGEAdd support for relationships by @christoph-kluge in https://github.com/spatie/laravel-stats/pull/17
See upgrading.md for an upgrading guide.
StatsWriter with classname support (StatsWriter::for(MyModel::class))StatsWriter with eloquent-model support (StatsWriter::for($eloquent))StatsWriter with "has-many"-relationship support (StatsWriter::for($model->relationship())) - other relationships are untested yetStatsWriter with custom-attribute support (StatsWriter::for(MyModel::class, ['custom_column' => 'orders]))StatsQuery with relationship-support (StatsQuery::for($model->relationship()))StatsQuery with additional attributes (StatsQuery::for(StatsEvent::class, ['name' => 'OrderStats']))BaseStats with direct writer access (OrderStats::writer() as addition to OrderStats::query())StatsQuery::for($model)->generatePeriods() from public to protectedStatsQuery::getPeriodTimestampFormat() from public to protectedStatsQuery::for($model)->getStatistic() with StatsQuery::for($model)->getAttributes()BaseStats->createEvent()StatsQuery::for(OrderStats::class) with OrderStats::query()StatsEvent::TYPE_SET with DataPoint::TYPE_SETStatsEvent::TYPE_CHANGE with DataPoint::TYPE_CHANGEFull Changelog: https://github.com/spatie/laravel-stats/compare/1.0.1...2.0.0
How can I help you explore Laravel packages today?