PHPackages                             pocketmine/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. pocketmine/math

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

pocketmine/math
===============

PHP library containing math related code used in PocketMine-MP

1.0.0(3y ago)43613.8k↑95.4%25[6 issues](https://github.com/pmmp/Math/issues)[2 PRs](https://github.com/pmmp/Math/pulls)20LGPL-3.0PHPPHP ^8.0CI passing

Since Mar 18Pushed 7mo ago9 watchersCompare

[ Source](https://github.com/pmmp/Math)[ Packagist](https://packagist.org/packages/pocketmine/math)[ RSS](/packages/pocketmine-math/feed)WikiDiscussions stable Synced 2w ago

READMEChangelog (10)Dependencies (5)Versions (19)Used By (20)

Math
====

[](#math)

[![CI](https://github.com/pmmp/Math/workflows/CI/badge.svg)](https://github.com/pmmp/Math/workflows/CI/badge.svg)

PHP library containing math related code used in PocketMine-MP

###  Health Score

55

—

FairBetter than 97% of packages

Maintenance41

Moderate activity, may be stable

Popularity51

Moderate usage in the ecosystem

Community40

Growing community involvement

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 62.4% 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 ~151 days

Recently: every ~160 days

Total

14

Last Release

1111d ago

Major Versions

0.4.3 → 1.0.02023-08-03

PHP version history (4 changes)0.1.0PHP &gt;=7.2.0

0.2.6PHP ^7.2 || ^8.0

0.3.0PHP ^7.4 || ^8.0

0.4.0PHP ^8.0

### Community

Maintainers

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

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

---

Top Contributors

[![dktapps](https://avatars.githubusercontent.com/u/14214667?v=4)](https://github.com/dktapps "dktapps (171 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (36 commits)")[![shoghicp](https://avatars.githubusercontent.com/u/516482?v=4)](https://github.com/shoghicp "shoghicp (34 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (14 commits)")[![SOF3](https://avatars.githubusercontent.com/u/19623715?v=4)](https://github.com/SOF3 "SOF3 (6 commits)")[![AkmalFairuz](https://avatars.githubusercontent.com/u/35138228?v=4)](https://github.com/AkmalFairuz "AkmalFairuz (2 commits)")[![luca28pet](https://avatars.githubusercontent.com/u/7382281?v=4)](https://github.com/luca28pet "luca28pet (2 commits)")[![PEMapModder](https://avatars.githubusercontent.com/u/5618466?v=4)](https://github.com/PEMapModder "PEMapModder (2 commits)")[![KygekDev](https://avatars.githubusercontent.com/u/68368066?v=4)](https://github.com/KygekDev "KygekDev (1 commits)")[![CortexPE](https://avatars.githubusercontent.com/u/17762324?v=4)](https://github.com/CortexPE "CortexPE (1 commits)")[![matcracker](https://avatars.githubusercontent.com/u/10587406?v=4)](https://github.com/matcracker "matcracker (1 commits)")[![Nerahikada](https://avatars.githubusercontent.com/u/15967582?v=4)](https://github.com/Nerahikada "Nerahikada (1 commits)")[![buchwasa](https://avatars.githubusercontent.com/u/17461354?v=4)](https://github.com/buchwasa "buchwasa (1 commits)")[![fuyutsuki](https://avatars.githubusercontent.com/u/16377174?v=4)](https://github.com/fuyutsuki "fuyutsuki (1 commits)")[![jasonw4331](https://avatars.githubusercontent.com/u/16521025?v=4)](https://github.com/jasonw4331 "jasonw4331 (1 commits)")

---

Tags

github-actions-enabledon-packagistphp81phpstan-l9phpstan-strict

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[pocketmine/pocketmine-mp

A server software for Minecraft: Bedrock Edition written in PHP

3.6k79.3k91](/packages/pocketmine-pocketmine-mp)[godruoyi/php-snowflake

An ID Generator for PHP based on Snowflake Algorithm (Twitter announced).

8662.7M75](/packages/godruoyi-php-snowflake)[bitwasp/bitcoin

PHP Bitcoin library with functions for transactions, signatures, serialization, Random/Deterministic ECDSA keys, blocks, RPC bindings

1.1k541.0k43](/packages/bitwasp-bitcoin)[pocketmine/raklib

A RakNet server implementation written in PHP

102607.9k25](/packages/pocketmine-raklib)[bitwasp/buffertools

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

65784.0k42](/packages/bitwasp-buffertools)[phptg/bot-api

PHP library for working with Telegram API

12819.7k8](/packages/phptg-bot-api)

PHPackages © 2026

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