PHPackages                             kabbouchi/bignumber - 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. kabbouchi/bignumber

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

kabbouchi/bignumber
===================

A PHP package for arbitrary-precision decimal and non-decimal arithmetic inspired by bignumber.js

0.0.6(3y ago)19MITPHPPHP ^8.0

Since Jun 5Pushed 3y ago1 watchersCompare

[ Source](https://github.com/KABBOUCHI/BigNumber.php)[ Packagist](https://packagist.org/packages/kabbouchi/bignumber)[ RSS](/packages/kabbouchi-bignumber/feed)WikiDiscussions master Synced today

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

BigNumber.php
=============

[](#bignumberphp)

A PHP package for arbitrary-precision decimal and non-decimal arithmetic inspired by bignumber.js

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

[](#installation)

```
composer require kabbouchi/bignumber
```

Usage
-----

[](#usage)

```
use KABBOUCHI\BigNumber;

BigNumber::of(123)->plus(12)->div(1234)->toString();

BigNumber::of(1)
  	->div(5)
  	->times(BigNumber::of(10)->pow(9))
  	->div(1.453)
  	->negated()
  	->abs()
  	->toFixed(4);
```

License
-------

[](#license)

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

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Total

6

Last Release

1428d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/262a11f6a501bc3542b512aa3793e586f1162e8b300161824f1e13d425fa1bf3?d=identicon)[KABBOUCHI](/maintainers/KABBOUCHI)

---

Top Contributors

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

---

Tags

phpbignumberweb3bignumber.phpbignumber-php

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/kabbouchi-bignumber/health.svg)

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

###  Alternatives

[imanghafoori/laravel-anypass

A minimal yet powerful package to help you in development.

21421.6k](/packages/imanghafoori-laravel-anypass)

PHPackages © 2026

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