statistics
laravel-stats
statistics | laravel-stats | |
---|---|---|
1 | 2 | |
354 | 1,698 | |
0.3% | - | |
7.6 | 6.5 | |
about 1 month ago | about 1 month ago | |
PHP | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
statistics
-
Statistics with PHP
php use HiFolks\Statistics\Statistics; $s = Statistics::make( [98, 90, 70,18,92,92,55,83,45,95,88,76] ); $a = $s->frequencies(); print_r($a); /* Array ( [18] => 1 [45] => 1 [55] => 1 [70] => 1 [76] => 1 [83] => 1 [88] => 1 [90] => 1 [92] => 2 [95] => 1 [98] => 1 ) */ $a = $s->relativeFrequencies(); print_r($a); /* Array ( [18] => 8.3333333333333 [45] => 8.3333333333333 [55] => 8.3333333333333 [70] => 8.3333333333333 [76] => 8.3333333333333 [83] => 8.3333333333333 [88] => 8.3333333333333 [90] => 8.3333333333333 [92] => 16.666666666667 [95] => 8.3333333333333 [98] => 8.3333333333333 ) */ ## What's next If you have some suggestion to improve the code , or you want to add some new functions or request a new feature, feel free to open a new issues here: https://github.com/Hi-Folks/statistics/issues ### Todo list: I'm going to implement and add clasess/methods for: - [ ] covariance and correlation - [ ] normal distributions Follow me on Twitter: https://twitter.com/RmeetsH
laravel-stats
-
Laravel with php-cs-fixer and IDE formatting
If you host your code on GitHub, you could use Actions to automatically fix your code. Here is an example workflow I use in all my projects. https://github.com/stefanzweifel/laravel-stats/blob/main/.github/workflows/format_php.yml
-
What dev composer packages are a must have?
wnx/laravel-stats: https://github.com/stefanzweifel/laravel-stats. My own package to see how big my app actually is.
What are some alternatives?
laravel-time-series - ⏰📊✨Laravel Time Series - Provides an API to create and maintain data projections (statistics, aggregates, etc.) from your Eloquent models, and convert them to time series.
laravel-tracker - A package to track your model data and monitor model data
Math PHP - Powerful modern math library for PHP: Features descriptive statistics and regressions; Continuous and discrete probability distributions; Linear algebra with matrices and vectors, Numerical analysis; special mathematical functions; Algebra
phpinsights - 🔰 Instant PHP quality checks from your console
Fermat - A library providing math and statistics operations for numbers of arbitrary size.
Psalm - A static analysis tool for finding errors in PHP applications
Pest - Pest is an elegant PHP testing Framework with a focus on simplicity, meticulously designed to bring back the joy of testing in PHP.
clockwork - Clockwork - php dev tools in your browser - server-side component
Tensor - A library and extension that provides objects for scientific computing in PHP.
laravel-telescope-toolbar - A toolbar for Laravel Telescope, based on the Symfony Web Profiler.
phpqa - Docker image that provides static analysis tools for PHP
laravel-cross-eloquent-search - Laravel package to search through multiple Eloquent models. Supports sorting, pagination, scoped queries, eager load relationships and searching through single or multiple columns.