markrogoyski/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 observed · 2026-08-28
Health v2 · maintenance only
62/100
- Activity 71
- Release rhythm 29
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 135.0
- age_days: 3804
- days_rel: 313
- days_push: 178
- n_releases_24m: 3
Adoption not part of the score
2410 stars · 240 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
MathPHP is a pure PHP math library with no external dependencies covering statistics, probability distributions, linear algebra, numerical analysis, algebra, finance, and number theory. It provides a comprehensive, self-contained toolkit for integrating mathematical computation into PHP applications.
Use cases
- compute descriptive statistics and regressions in php
- work with matrices and vectors in php
- calculate probability distributions
- perform numerical integration and root finding
- do statistical analysis like ANOVA and PCA in php
- financial calculations in php
When to choose
- you need math or statistics functionality in a PHP project
- you want a dependency-free pure PHP library
- you need linear algebra, probability, or numerical analysis in PHP
When to avoid
- you need high-performance scientific computing (use NumPy/SciPy)
- your project is not in PHP
- you need symbolic math or a computer algebra system
Facets
library · maturity active
math mathematics data-science php statistics linear-algebra probability-distributions numerical-analysis pure-php no-dependencies algorithms
1 source
- readme: https://github.com/markrogoyski/math-php · fetched 2026-08-28 · a9eb625c9575
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| markrogoyski/math-php | main | 62 |
For agents
markdown · JSON · MCP: product_card(name="markrogoyski/math-php")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem