PHPackages                             martinlindhe/php-number-presentation - 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. martinlindhe/php-number-presentation

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

martinlindhe/php-number-presentation
====================================

Some utility classes to work with numbers.

0.1.5(10y ago)026MITPHPPHP &gt;=5.4.0

Since Jun 16Pushed 10y ago1 watchersCompare

[ Source](https://github.com/martinlindhe/php-number-presentation)[ Packagist](https://packagist.org/packages/martinlindhe/php-number-presentation)[ RSS](/packages/martinlindhe-php-number-presentation/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (2)Versions (7)Used By (0)

About
-----

[](#about)

Some utility classes to work with numbers.

- BigNumber is a class which internally uses bcmath for high precision numeric caluclations.
- NaturalNumberSwedish parses natural language (Swedish) into numbers
- NumberBase is a class for converting values between different number bases.
- RationalNumber is a class to work with rational numbers, like "3/4"
- RomanNumber is a class for converting between roman numbers
- MathSymbol has some helpers for printing exponents in superscript or subscript (UTF-8)
- NumberList is a helper for converting a natural language list of numbers to an array

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

[](#installation)

```
composer require martinlindhe/php-number-presentation

```

Usage
-----

[](#usage)

See examples

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Total

6

Last Release

3932d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/93df11d6507d6b99fca1ecaf7dc8e6a42a3393a7010d1bdacb3a1a18865b4eb7?d=identicon)[martinlindhe](/maintainers/martinlindhe)

---

Top Contributors

[![martinlindhe](https://avatars.githubusercontent.com/u/181531?v=4)](https://github.com/martinlindhe "martinlindhe (9 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/martinlindhe-php-number-presentation/health.svg)

```
[![Health](https://phpackages.com/badges/martinlindhe-php-number-presentation/health.svg)](https://phpackages.com/packages/martinlindhe-php-number-presentation)
```

###  Alternatives

[nystudio107/eagerbeaver

Allows you to eager load elements from auto-injected Entry elements on demand from your templates.

251.5k](/packages/nystudio107-eagerbeaver)

PHPackages © 2026

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