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

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

blockchainethdev/bn-php
=======================

Big number implementation compatible with bn.js

1.1.3(2y ago)06921MITPHP

Since Dec 29Pushed 2y ago1 watchersCompare

[ Source](https://github.com/blockchainethdev/bn-php)[ Packagist](https://packagist.org/packages/blockchainethdev/bn-php)[ RSS](/packages/blockchainethdev-bn-php/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (2)Versions (2)Used By (1)

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/blockchainethdev/elliptic-php).

This software is licensed under the MIT License.

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

[](#installation)

You can install this library via Composer:

```
composer require blockchainethdev/bn-php

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

907d ago

### Community

Maintainers

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

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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