PHPackages                             cline/numerus - 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. [Localization &amp; i18n](/categories/localization)
4. /
5. cline/numerus

ActiveLibrary[Localization &amp; i18n](/categories/localization)

cline/numerus
=============

Immutable numeric value object with chainable arithmetic operations and Laravel Number formatting

5.0.3(2mo ago)02.5k↑383.3%1MITPHPPHP ^8.5.0CI passing

Since Mar 3Pushed 2mo agoCompare

[ Source](https://github.com/faustbrian/numerus)[ Packagist](https://packagist.org/packages/cline/numerus)[ RSS](/packages/cline-numerus/feed)WikiDiscussions 5.x Synced 1mo ago

READMEChangelog (7)Dependencies (19)Versions (13)Used By (1)

[![GitHub Workflow Status](https://github.com/faustbrian/numerus/actions/workflows/quality-assurance.yaml/badge.svg)](https://github.com/faustbrian/numerus/actions)[![Latest Version on Packagist](https://camo.githubusercontent.com/a5c724b2fbe775a007d137a38e316f3e33a84d576749806be25670e9063761b3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636c696e652f6e756d657275732e737667)](https://packagist.org/packages/cline/numerus)[![Software License](https://camo.githubusercontent.com/784362b26e4b3546254f1893e778ba64616e362bd6ac791991d2c9e880a3a64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/fff5332ec57295a6fbad9cc988a028fa268624beea7e66c4de3ddd4579c019f2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636c696e652f6e756d657275732e737667)](https://packagist.org/packages/cline/numerus)

---

Immutable numeric value object with chainable arithmetic operations and Laravel Number formatting. Uses [brick/math](https://github.com/brick/math) for arbitrary-precision arithmetic, ensuring accurate calculations for financial and scientific use cases.

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

[](#requirements)

> **Requires [PHP 8.4+](https://php.net/releases/)**

Installation
------------

[](#installation)

```
composer require cline/numerus
```

Documentation
-------------

[](#documentation)

- **[Basic Usage](DOCS.md#doc-docs-basic-usage)** - Core arithmetic and rounding operations
- **[Comparisons](DOCS.md#doc-docs-comparisons)** - Comparison operations and type checking
- **[Chaining](DOCS.md#doc-docs-chaining)** - Advanced chaining patterns and practical examples
- **[Formatting](DOCS.md#doc-docs-formatting)** - Laravel Number formatting, localization, and parsing

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please use the [GitHub security reporting form](https://github.com/faustbrian/numerus/security) rather than the issue queue.

Credits
-------

[](#credits)

- [Brian Faust](https://github.com/faustbrian)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance88

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

Recently: every ~3 days

Total

11

Last Release

61d ago

Major Versions

1.0.0 → 2.0.02025-10-24

2.0.0 → 3.0.02025-10-24

3.0.1 → 4.0.02025-10-24

4.1.0 → 5.0.02026-03-04

PHP version history (2 changes)1.0.0PHP ^8.4.0

5.0.0PHP ^8.5.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22145591?v=4)[Brian Faust](/maintainers/faustbrian)[@faustbrian](https://github.com/faustbrian)

---

Top Contributors

[![faustbrian](https://avatars.githubusercontent.com/u/22145591?v=4)](https://github.com/faustbrian "faustbrian (11 commits)")

---

Tags

phplaravelintlcurrencyi18nValue Objectmathematicsarithmeticlocaleformattingimmutablenumbernumericpercentage

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/cline-numerus/health.svg)

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

###  Alternatives

[vluzrmos/language-detector

Detect the language for your application using browser preferences, subdomains or route prefixes.

109554.8k3](/packages/vluzrmos-language-detector)[skillshare/formatphp

Internationalize PHP apps. This library provides an API to format dates, numbers, and strings, including pluralization and handling translations.

8029.6k](/packages/skillshare-formatphp)[opgginc/codezero-laravel-localized-routes

A convenient way to set up, manage and use localized routes in a Laravel app.

2770.1k1](/packages/opgginc-codezero-laravel-localized-routes)[awes-io/localization-helper

Package for convenient work with Laravel's localization features

3527.1k4](/packages/awes-io-localization-helper)[tigrov/yii2-country

Country data for Yii2 using Intl extension and more.

151.1k](/packages/tigrov-yii2-country)

PHPackages © 2026

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