PHPackages                             vrnedwidek/php-decimal - 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. vrnedwidek/php-decimal

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

vrnedwidek/php-decimal
======================

An arbitrary-precision Decimal class type for PHP. Forked from Piggly and updated requirements to allow PHP 8.1 and PHP 8.2.

v1.0(3y ago)019MITPHP ^7.3 || ^8

Since Mar 27Compare

[ Source](https://github.com/vrnedwidek/php-decimal)[ Packagist](https://packagist.org/packages/vrnedwidek/php-decimal)[ Docs](https://github.com/vrnedwidek/php-decimal)[ RSS](/packages/vrnedwidek-php-decimal/feed)WikiDiscussions Synced 1mo ago

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

### README not available

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

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 92.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

Unknown

Total

1

Last Release

1147d ago

### Community

Maintainers

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

---

Top Contributors

[![caiquearaujo](https://avatars.githubusercontent.com/u/23598990?v=4)](https://github.com/caiquearaujo "caiquearaujo (24 commits)")[![vrnedwidek](https://avatars.githubusercontent.com/u/68650996?v=4)](https://github.com/vrnedwidek "vrnedwidek (2 commits)")

---

Tags

BigIntegerdecimalbignumarithmeticbigdecimalbignumbernumberfloatprecisionarbitrarypigglybigbigintvrnedwidek

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vrnedwidek-php-decimal/health.svg)

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

###  Alternatives

[brick/math

Arbitrary-precision arithmetic library

2.1k504.0M277](/packages/brick-math)[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)[ikr/money-math

gmp-based arbitrary precision operations on currency amounts "XXX.YY"; because floats are BAD for representing money

3115.0k1](/packages/ikr-money-math)[phpseclib/bcmath_compat

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

16720.7M17](/packages/phpseclib-bcmath-compat)[php-decimal/php-decimal

Correctly-rounded arbitrary precision decimal floating point

781.0M9](/packages/php-decimal-php-decimal)[prestashop/decimal

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

178.2M5](/packages/prestashop-decimal)

PHPackages © 2026

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