Download the PHP package white-frame/statistics without Composer
On this page you can find all versions of the php package white-frame/statistics. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download white-frame/statistics
More information about white-frame/statistics
Files in white-frame/statistics
Download white-frame/statistics
More information about white-frame/statistics
Files in white-frame/statistics
Vendor white-frame
Package statistics
Short Description Tools for extracting statistics from a sql table
License WTFPL
Package statistics
Short Description Tools for extracting statistics from a sql table
License WTFPL
Please rate this library. Is it a good library?
Informations about the package statistics
Statistics
Allows you to extract a Illuminate\Support\Collection
of statistics about a set of dated Eloquent
rows.
Features
- Based on Carbon : for easy date management and for an easy integration with
Eloquent
- A simple Cache : for avoiding useless dupliated database queries
- Custom interval and steps : allows you to change dates (start, end) and the steps (yearly, monthly, daily, hourly)
- Return a Collection : a
Illuminate\Support\Collection
is returned for a simpler statistics handling - Indicator based : for a simple and comprehensive way of querying statistics datas
Installation
Install it with composer :
composer require ifnot/statistics
Usage
1 : Instanciate a Statistics
object from a eloquent query :
2 : Specify the date column and the interval for filtering datas :
3 : Add indicators :
4 : Handle datas :
Full Documentation
... Work here
All versions of statistics with dependencies
PHP Build Version
Package Version
The package white-frame/statistics contains the following files
Loading the files please wait ....