PHPackages                             oceanmoon/math - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. oceanmoon/math

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

oceanmoon/math
==============

PHP classes for Complex and Rational number arithmetic, plus Vector and Matrix operations.

v2.0.0(yesterday)10MITPHP ^8.4

Since Dec 9Compare

[ Source](https://github.com/mossy2100/PHP-Math)[ Packagist](https://packagist.org/packages/oceanmoon/math)[ Docs](https://github.com/mossy2100/PHP-Math)[ RSS](/packages/oceanmoon-math/feed)WikiDiscussions Synced yesterday

READMEChangelogDependencies (6)Versions (7)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/mossy2100/PHP-Math).

###  Health Score

43

—

FairBetter than 90% of packages

Maintenance100

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~38 days

Total

6

Last Release

1d ago

Major Versions

0.2.0 → v1.0.02026-01-05

v1.2.1 → v2.0.02026-06-18

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f9cd1bb5c1b12882db4cb82161c1b5a22e1ccbad8845a54a6ae591647e88c07?d=identicon)[mossy2100](/maintainers/mossy2100)

---

Tags

phpcomplexvectormatrixmatharithmeticrationaltrigonometryfraction

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/oceanmoon-math/health.svg)

```
[![Health](https://phpackages.com/badges/oceanmoon-math/health.svg)](https://phpackages.com/packages/oceanmoon-math)
```

###  Alternatives

[rubix/tensor

A library and extension that provides objects for scientific computing in PHP.

2801.5M5](/packages/rubix-tensor)[brick/math

Arbitrary-precision arithmetic library

2.1k532.9M373](/packages/brick-math)[markrogoyski/math-php

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

2.4k7.4M47](/packages/markrogoyski-math-php)[rindow/rindow-math-matrix

The fundamental package for scientific matrix operation

13306.8k7](/packages/rindow-rindow-math-matrix)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
