#130130th of 433 in ML frameworks and libraries
ml
Machine learning and deep learning library for PHP
Watch puts ml on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.ml is on your watch list. Its new releases and problems show there.
- Stars
- 2.2k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- PHP
2,183 on 28 Apr 20262,215 on 24 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Rubix ML is a PHP 8.3+ library, installed with Composer, covering the ML workflow from ETL and preprocessing to training and cross-validation. It ships more than 40 supervised and unsupervised algorithms. An optional Tensor extension speeds up matrix and vector math.
Who it is for: PHP developers adding classical ML to existing applications
Strengths
- Brings ML training and inference into PHP codebases without a separate Python service
- 40+ supervised and unsupervised algorithms plus preprocessing and cross-validation
- Optional extensions: Tensor for fast math, Swoole for multiprocessing, GD for images
- Docs site and a dozen example projects with pre-cleaned datasets
Weaknesses
- Fast matrix math needs compiling the Tensor extension with a C toolchain and BLAS libraries
- Requires PHP 8.3 or newer
- Docs are licensed CC BY-NC 4.0, which restricts commercial reuse
- Ecosystem is far smaller than Python ML libraries
What it needs
- Needs PHP 8.3+, Composer, Tensor Ext 4.1+ (recommended), Swoole (optional), GD (optional), SVM extension (optional), PDO (optional), GraphViz (optional)
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in ML frameworks and libraries
See all 433| Rank | Project | Score |
|---|---|---|
| #128 | safetensorsTensor file format and library that avoids pickle, with zero-copy lazy loading | 68 out of 100 |
| #129 | shapashPython library that explains tabular ML predictions via a web app and reports | 68 out of 100 |
| #131 | pytsPython library for time series classification with scikit-learn-style transformers | 68 out of 100 |
| #132 | kitopsCLI that packages AI/ML models and datasets as versioned OCI artifacts | 68 out of 100 |
| #133 | earth2studioPython package for running AI weather and climate models on public data | 68 out of 100 |