PHPackages                             charcoal-dev/gmp-adapter - 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. charcoal-dev/gmp-adapter

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

charcoal-dev/gmp-adapter
========================

Provides BigInteger class to Charcoal Apps

0.1.3(9mo ago)07.9k11MITPHPPHP ^8.3

Since Sep 10Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/charcoal-dev/gmp-adapter)[ Packagist](https://packagist.org/packages/charcoal-dev/gmp-adapter)[ Docs](https://github.com/charcoal-dev/gmp-adapter)[ RSS](/packages/charcoal-dev-gmp-adapter/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (1)

Charcoal GMP Adapter
====================

[](#charcoal-gmp-adapter)

[![MIT License](https://camo.githubusercontent.com/8bb50fd2278f18fc326bf71f6e88ca8f884f72f179d3e555e20ed30157190d0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e2e737667)](LICENSE)

The GMP lib is a thin, pragmatic wrapper around PHP’s ext-gmp, giving you a familiar BigInteger-style API plus clean byte conversions. It standardizes import/export via gmp\_import()/gmp\_export() with explicit ByteOrder handling (big/little), fixed-width padding, and constant-time equals() for sensitive paths. The companion GmpByte enum captures common widths (8/16/32/64) and provides tight pack/unpack helpers for U64 using GMP, mirroring the Buffers’ U8/U16/U32 routines. Together they let you move between integers and raw bytes without surprises—no hidden endianness, no accidental truncation, and no dependency leakage into the Buffers layer.

For detailed information, guidance, and setup instructions regarding this library, please refer to our official documentation website:

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance56

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

290d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11485189?v=4)[M. Furqan Siddiqui](/maintainers/furqansiddiqui)[@furqansiddiqui](https://github.com/furqansiddiqui)

---

Top Contributors

[![furqansiddiqui](https://avatars.githubusercontent.com/u/11485189?v=4)](https://github.com/furqansiddiqui "furqansiddiqui (17 commits)")

### Embed Badge

![Health badge](/badges/charcoal-dev-gmp-adapter/health.svg)

```
[![Health](https://phpackages.com/badges/charcoal-dev-gmp-adapter/health.svg)](https://phpackages.com/packages/charcoal-dev-gmp-adapter)
```

PHPackages © 2026

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