PHPackages                             myerscode/utilities-numbers - 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. myerscode/utilities-numbers

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

myerscode/utilities-numbers
===========================

A fluent interface for interacting with numbers.

2026.0.0(1mo ago)1175[1 PRs](https://github.com/myerscode/utilities-numbers/pulls)2MITPHPPHP ^8.5CI passing

Since Nov 29Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/myerscode/utilities-numbers)[ Packagist](https://packagist.org/packages/myerscode/utilities-numbers)[ RSS](/packages/myerscode-utilities-numbers/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (1)Dependencies (4)Versions (11)Used By (2)

Numbers Utilities
=================

[](#numbers-utilities)

> A PHP helper utility class for the immutable, fluent use and manipulation of numeric values

[![Latest Stable Version](https://camo.githubusercontent.com/ef63fadfa64aeeb5525b4801875f2732b55c64e8abba53b6f4f9b46e33b7f6f4/68747470733a2f2f706f7365722e707567782e6f72672f6d79657273636f64652f7574696c69746965732d6e756d626572732f762f737461626c65)](https://packagist.org/packages/myerscode/utilities-numbers)[![Total Downloads](https://camo.githubusercontent.com/643d44df448b65a59b810c6969074b9ebec5354bfe310b9a076e42f7e4aa3b41/68747470733a2f2f706f7365722e707567782e6f72672f6d79657273636f64652f7574696c69746965732d6e756d626572732f646f776e6c6f616473)](https://packagist.org/packages/myerscode/utilities-numbers)[![PHP Version Require](https://camo.githubusercontent.com/dec2f787ab4bce46cbc7a0864766208b6f94e51d319228e0e3fb3cf4da4f0ab0/687474703a2f2f706f7365722e707567782e6f72672f6d79657273636f64652f7574696c69746965732d6e756d626572732f726571756972652f706870)](https://packagist.org/packages/myerscode/utilities-numbers)[![License](https://camo.githubusercontent.com/08aa2ddc0113570d4f4ea1a39016e5924cf3d614acc94d9cc9489eef9e88111e/68747470733a2f2f706f7365722e707567782e6f72672f6d79657273636f64652f7574696c69746965732d6e756d626572732f6c6963656e7365)](https://github.com/myerscode/utilities-numbers/blob/main/LICENSE)[![Tests](https://github.com/myerscode/utilities-numbers/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/myerscode/utilities-numbers/actions/workflows/tests.yml)[![codecov](https://camo.githubusercontent.com/e3ae8b54d999e8d8035512dcf195c8f9ef12133bd79fa6f5c219fd4df2514dca/68747470733a2f2f636f6465636f762e696f2f67682f6d79657273636f64652f7574696c69746965732d6e756d626572732f67726170682f62616467652e737667)](https://codecov.io/gh/myerscode/utilities-numbers)

Requirements
------------

[](#requirements)

- PHP &gt;= 8.5

Install
-------

[](#install)

You can install this package via composer:

```
composer require myerscode/utilities-numbers
```

[Usage](./docs/usage.md)
------------------------

[](#usage)

To see how to use the utility, view the usage guide [here](./docs/usage.md).

[Methods](./docs/methods.md)
----------------------------

[](#methods)

View all available methods in the documentation [here](./docs/methods.md).

Issues
------

[](#issues)

Bug reports and feature requests can be submitted on the [Github Issue Tracker](https://github.com/myerscode/utilities-numbers/issues).

Contributing
------------

[](#contributing)

See the Myerscode [contributing](https://github.com/myerscode/docs/blob/master/contributing.md) page for information.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

55

—

FairBetter than 98% of packages

Maintenance93

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity87

Battle-tested with a long release history

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

Recently: every ~684 days

Total

8

Last Release

44d ago

Major Versions

0.0.3 → 1.0.02018-09-30

1.0.1 → 2.0.02022-01-27

1.x-dev → 2026.0.02026-04-01

PHP version history (5 changes)0.0.1PHP &gt;=7.0

1.0.1PHP ^7.4||8.0.\*

2.0.0PHP ^8.1

1.x-devPHP ^7.3||8.0.\*

2026.0.0PHP ^8.5

### Community

Maintainers

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

---

Top Contributors

[![oniice](https://avatars.githubusercontent.com/u/2676321?v=4)](https://github.com/oniice "oniice (58 commits)")

---

Tags

fluentmathsnumbersphp-libraryutilitiesutilityutility-librarynumbersfloatint

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/myerscode-utilities-numbers/health.svg)

```
[![Health](https://phpackages.com/badges/myerscode-utilities-numbers/health.svg)](https://phpackages.com/packages/myerscode-utilities-numbers)
```

###  Alternatives

[kwn/number-to-words

Multi language standalone PHP number to words converter. Fully tested, open for extensions and new languages.

4235.0M21](/packages/kwn-number-to-words)[rtlopez/decimal

An object oriented immutable arbitrary-precision arithmetic library for PHP

27262.8k2](/packages/rtlopez-decimal)[jurchiks/numbers2words

It spells numbers (and currencies)!

20172.1k3](/packages/jurchiks-numbers2words)[yemenifree/laravel-arabic-numbers-middleware

auto transforms arabic/eastern to eastern/arabic numbers for i.e ١٢٣٤٥٦٧٨ to 12345678

18135.4k](/packages/yemenifree-laravel-arabic-numbers-middleware)[delight-im/random

The most convenient way to securely generate anything random in PHP

2345.4k](/packages/delight-im-random)[danog/phpstruct

PHP implementation of python's struct module.

1110.1k](/packages/danog-phpstruct)

PHPackages © 2026

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