PHPackages                             nanasess/bcmath-polyfill - 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. nanasess/bcmath-polyfill

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

nanasess/bcmath-polyfill
========================

PHP 8.4 bcmath functions polyfill with fallback compatibility for environments without bcmath extension. Based on phpseclib/bcmath\_compat with additional support for new PHP 8.4 bcmath functions.

1.0.2(5mo ago)031.6k↓18.8%[6 PRs](https://github.com/nanasess/bcmath-polyfill/pulls)MITPHP &gt;=8.1

Since Jun 10Compare

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

READMEChangelogDependencies (5)Versions (35)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/nanasess/bcmath-polyfill).

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance71

Regular maintenance activity

Popularity30

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity57

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

Every ~46 days

Total

4

Last Release

166d ago

Major Versions

0.0.1 → 1.0.02025-09-05

### Community

Maintainers

![](https://www.gravatar.com/avatar/f2faa579847aa7f6045f80f897a15978403c8a3e0c1198f3d1ff72e32989309b?d=identicon)[nanasess](/maintainers/nanasess)

---

Tags

polyfillBigIntegermathbigdecimalbcmath

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nanasess-bcmath-polyfill/health.svg)

```
[![Health](https://phpackages.com/badges/nanasess-bcmath-polyfill/health.svg)](https://phpackages.com/packages/nanasess-bcmath-polyfill)
```

###  Alternatives

[phpseclib/bcmath_compat

PHP 5.x-8.x polyfill for bcmath extension

16720.7M17](/packages/phpseclib-bcmath-compat)[brick/math

Arbitrary-precision arithmetic library

2.1k504.0M277](/packages/brick-math)[phpseclib/mcrypt_compat

PHP 5.x-8.x polyfill for mcrypt extension

28129.7M34](/packages/phpseclib-mcrypt-compat)[prestashop/decimal

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

178.2M5](/packages/prestashop-decimal)[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)[phpmath/biginteger

A PHP library to work with big integers.

235.8k1](/packages/phpmath-biginteger)

PHPackages © 2026

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