PHPackages                             simplito/bn-php - 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. simplito/bn-php

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

simplito/bn-php
===============

Big number implementation compatible with bn.js

1.1.4(2y ago)212.5M↓12.5%513MITPHP

Since Oct 20Pushed 2y ago4 watchersCompare

[ Source](https://github.com/simplito/bn-php)[ Packagist](https://packagist.org/packages/simplito/bn-php)[ RSS](/packages/simplito-bn-php/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (2)Versions (8)Used By (13)

BigNum library for PHP
======================

[](#bignum-library-for-php)

Information
-----------

[](#information)

This library provides a PHP Big Number API compatible with [bn.js](https://github.com/indutny/bn.js) and is used in Fast PHP ECC library [elliptic-php](https://github.com/simplito/elliptic-php).

This software is licensed under the MIT License.

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

[](#installation)

You can install this library via Composer:

```
composer require simplito/bn-php

```

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity51

Moderate usage in the ecosystem

Community22

Small or concentrated contributor base

Maturity68

Established project with proven stability

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

Recently: every ~535 days

Total

7

Last Release

904d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2029894?v=4)[Hiwer](/maintainers/ldudzinski)[@ldudzinski](https://github.com/ldudzinski)

---

Top Contributors

[![ldudzsim](https://avatars.githubusercontent.com/u/26061479?v=4)](https://github.com/ldudzsim "ldudzsim (7 commits)")

---

Tags

bignumbermathweb

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/simplito-bn-php/health.svg)

```
[![Health](https://phpackages.com/badges/simplito-bn-php/health.svg)](https://phpackages.com/packages/simplito-bn-php)
```

###  Alternatives

[ramsey/uuid

A PHP library for generating and working with universally unique identifiers (UUIDs).

12.6k745.0M4.0k](/packages/ramsey-uuid)[jaybizzle/crawler-detect

CrawlerDetect is a PHP class for detecting bots/crawlers/spiders via the user agent

2.4k104.0M278](/packages/jaybizzle-crawler-detect)[symfonycasts/tailwind-bundle

Delightful Tailwind Support for Symfony + AssetMapper

1121.7M24](/packages/symfonycasts-tailwind-bundle)[nigelcunningham/puphpeteer

A Puppeteer bridge for PHP, supporting the entire API.

2222.3k](/packages/nigelcunningham-puphpeteer)

PHPackages © 2026

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