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(4y ago)19MITPHPPHP ^8.0

Since Jun 5Pushed 4y ago1 watchersCompare

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

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 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

1481d 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

[brick/money

Money and currency library

1.9k41.8M157](/packages/brick-money)[flow-php/etl

PHP ETL - Extract Transform Load - Abstraction

378604.0k104](/packages/flow-php-etl)[krowinski/bcmath-extended

Extends php BCMath lib for missing functions like floor, ceil, round, abs, min, max, rand for big numbers. Also wraps existing BCMath functions. (more http://php.net/manual/en/book.bc.php) Supports scientific notations

801.1M24](/packages/krowinski-bcmath-extended)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.4k](/packages/blair2004-nexopos)[julien-boudry/condorcet

Complete election manager, providing natively many voting methods including: Condorcet / Borda (+ Nauru variant) / Copeland / Dodgson (2 Approximations) / FTPT / Instant-runoff (alternative vote) / Kemeny–Young / Minimax (+ variants) / Ranked Pairs (+ variants) / Schulze (+ variants), Single Transferable Vote (STV) / Comparison of Pairs of Outcomes by the Single Transferable Vote (CPO-STV)

13110.0k2](/packages/julien-boudry-condorcet)

PHPackages © 2026

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