PHPackages                             gammadia/bcmath-extended-nullable - 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. gammadia/bcmath-extended-nullable

ActiveLibrary

gammadia/bcmath-extended-nullable
=================================

Fork of krowinski/bcmath-extended with added nullable input arguments

6.0.1(3y ago)0103.5k↓47.6%MITPHPPHP ^7.2|^8.0

Since Mar 20Pushed 3y agoCompare

[ Source](https://github.com/gammadia/bcmath-extended-nullable)[ Packagist](https://packagist.org/packages/gammadia/bcmath-extended-nullable)[ RSS](/packages/gammadia-bcmath-extended-nullable/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (26)Used By (0)

BCMath Extended
===============

[](#bcmath-extended)

Learn more about it in its [documentation](https://github.com/krowinski/bcmath-extended).

A fork to allow nullable input arguments [![CI](https://github.com/gammadia/bcmath-extended-nullable/actions/workflows/ci.yaml/badge.svg)](https://github.com/gammadia/bcmath-extended-nullable/actions/workflows/ci.yaml)
==========================================================================================================================================================================================================================

[](#a-fork-to-allow-nullable-input-arguments-)

This is a fork of `krowinski/bcmath-extended` adapted to allow nullable input arguments, which supports :

- PHP `7.2` &lt;-&gt; `8.1`

The following changes were applied to the dev dependencies :

- Installing PHPStan to keep the code in good health

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity78

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% 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 ~103 days

Recently: every ~313 days

Total

24

Last Release

1322d ago

Major Versions

v1.3.6 → 2.0.0-rc.12017-11-12

2.0.1 → 3.0.02018-05-17

3.0.0 → 4.0.02018-08-03

4.2.1 → 5.0.02019-05-01

5.2.0 → 6.0.02021-06-10

PHP version history (4 changes)v1.0PHP &gt;=5.3

5.0.0PHP &gt;=7.1

6.0.0PHP ^7.1|^8.0

6.0.1PHP ^7.2|^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/310134?v=4)[Dorian Villet](/maintainers/gnutix)[@gnutix](https://github.com/gnutix)

![](https://www.gravatar.com/avatar/71b8363baf8edb1c301d4e8424e32c8f829952ffe6cac401a1a757df2cc8c403?d=identicon)[Gammadia](/maintainers/Gammadia)

---

Top Contributors

[![krowinski](https://avatars.githubusercontent.com/u/1478555?v=4)](https://github.com/krowinski "krowinski (60 commits)")[![gnutix](https://avatars.githubusercontent.com/u/310134?v=4)](https://github.com/gnutix "gnutix (6 commits)")[![Sander-Toonen](https://avatars.githubusercontent.com/u/5106372?v=4)](https://github.com/Sander-Toonen "Sander-Toonen (2 commits)")[![jimmy4o4](https://avatars.githubusercontent.com/u/19704458?v=4)](https://github.com/jimmy4o4 "jimmy4o4 (1 commits)")[![aywan](https://avatars.githubusercontent.com/u/5608711?v=4)](https://github.com/aywan "aywan (1 commits)")[![mbezhanov](https://avatars.githubusercontent.com/u/785542?v=4)](https://github.com/mbezhanov "mbezhanov (1 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (1 commits)")

---

Tags

phpmathArbitrary-precisionbignumberroundprecisionbcmathrandceilfloorabsbccomplex-numbersscientific-notation

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/gammadia-bcmath-extended-nullable/health.svg)

```
[![Health](https://phpackages.com/badges/gammadia-bcmath-extended-nullable/health.svg)](https://phpackages.com/packages/gammadia-bcmath-extended-nullable)
```

###  Alternatives

[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

791.0M19](/packages/krowinski-bcmath-extended)[brick/math

Arbitrary-precision arithmetic library

2.1k504.0M277](/packages/brick-math)[prestashop/decimal

Object-oriented wrapper/shim for BC Math PHP extension. Allows for arbitrary-precision math operations.

178.2M5](/packages/prestashop-decimal)[ionux/phactor

Phactor is a high-performance PHP implementation of the elliptic curve math functions required to generate &amp; verify private/public (asymmetric) EC keypairs and ECDSA signatures based on secp256k1 curve parameters. This library also includes a class to generate Service Identification Numbers (SINs) based on the published Identity Protocol v1 spec.

5275.0k30](/packages/ionux-phactor)[aza/math

AzaMath - Anizoptera CMF mathematic component. Arbitrary precision arithmetic (for huge integers; BCMath wrapper) and universal convertor between positional numeral systems (supported bases from 2 to 62 inclusive, and systems with custom alphabet; pure PHP realisation, can use GMP and core PHP functions for speed optimization).

1921.9k1](/packages/aza-math)[mathematicator-core/tokenizer

Math Tokenizer

104.9k6](/packages/mathematicator-core-tokenizer)

PHPackages © 2026

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