PHPackages                             hichxm/mather - 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. hichxm/mather

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

hichxm/mather
=============

Mathematical packet 100% PHP

1.1.1(7y ago)29MITPHP

Since Oct 7Pushed 7y ago1 watchersCompare

[ Source](https://github.com/hichxm/mather)[ Packagist](https://packagist.org/packages/hichxm/mather)[ RSS](/packages/hichxm-mather/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (3)Dependencies (2)Versions (8)Used By (0)

Mather
======

[](#mather)

Mather is a library that will allow you to facilitate your mathematical operations in PHP, without using an external library.

Example
-------

[](#example)

#### Simple operations:

[](#simple-operations)

```
use Hichxm\Mather\Mather;

Mather::sum(10, 15); // return int(25)
Mather::sum(5, 0.5); // return float(5.5)

Mather::total(10, 15); // return int(25)
Mather::total(5, 0.5); // return float(5.5)

Mather::sub(10, 15); // return int(-5)
Mather::sub(0, 0.5); // return float(-0.5)

Mather::subtract(10, 15); // return int(-5)
Mather::subtract(0, 0.5); // return float(-0.5)
```

#### Lot of constant:

[](#lot-of-constant)

```
use Hichxm\Mather\Mather;

Mather::PI(); // 3.14...
Mather::PLANCK(); // 6.62607004 x 10^-34
Mather::LIGHT_SPEED(); // 299792458
Mather::MEISSEL_MERTENS(); // 0.26149...

...
```

[Read documentation](https://htmlpreview.github.io/?https://github.com/hichxm/mather/blob/master/docs/index.html)
-----------------------------------------------------------------------------------------------------------------

[](#read-documentation)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~2 days

Total

5

Last Release

2770d ago

Major Versions

1.1.1 → 2.0.0.x-dev2018-10-13

### Community

Maintainers

![](https://www.gravatar.com/avatar/dd807d572b973124749e77aad69c1c8d51db3070f61ab1be91fbd7a4a82ee010?d=identicon)[Hichxm](/maintainers/Hichxm)

---

Top Contributors

[![hichxm](https://avatars.githubusercontent.com/u/12587585?v=4)](https://github.com/hichxm "hichxm (32 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hichxm-mather/health.svg)

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

###  Alternatives

[mistic100/randomcolor

Generate attractive random colors

2431.4M6](/packages/mistic100-randomcolor)[khill/php-duration

Converts between colon formatted time, human-readable time and seconds

1611.7M20](/packages/khill-php-duration)[staudenmeir/dusk-updater

Updater for Laravel Dusk ChromeDriver binaries

1242.3M1](/packages/staudenmeir-dusk-updater)[ans-group/laravel-health-check

A package for checking the health of your Laravel/Lumen applications.

167930.0k2](/packages/ans-group-laravel-health-check)[mantas-done/subtitles

Subtitle converter and generator for PHP

163837.8k2](/packages/mantas-done-subtitles)[prooph/common

Common classes used across prooph packages

852.2M27](/packages/prooph-common)

PHPackages © 2026

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