PHPackages                             matronator/c32check - 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. matronator/c32check

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

matronator/c32check
===================

PHP library for encoding and decoding C32Check addresses

v0.1.0(2y ago)010[1 issues](https://github.com/matronator/c32check/issues)MITPHPCI passing

Since Jun 2Pushed 2w ago1 watchersCompare

[ Source](https://github.com/matronator/c32check)[ Packagist](https://packagist.org/packages/matronator/c32check)[ Fund](https://www.blockchain.com/btc/address/35VRpVQaqFWjUCnVRpGineShz76QyYgSVg)[ Fund](https://www.paypal.me/matronator)[ RSS](/packages/matronator-c32check/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (4)Used By (0)

C32Check
========

[](#c32check)

PHP library for encoding and decoding C32 addresses which are used on the Stacks blockchain. It provides functionality to convert between base-58 encoded strings and their underlying byte representations, including checksum verification.

Requirements
------------

[](#requirements)

- PHP 8.0 or higher
- Composer

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

[](#installation)

```
composer require matronator/c32check
```

Usage
-----

[](#usage)

```
use Matronator\C32Check\Address;

$version = 22;

$hexString = '0x1e2a7c8a7e0d61c7a7d679c4e0c8f2e7';

$address = new Address($version, $hexString);

echo $address->toBase58Address(); // 1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2

echo $address->toC32Address(); // ST1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2Z
```

Testing
-------

[](#testing)

```
composer test
```

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

Acknowledgements
----------------

[](#acknowledgements)

- [Bitcoin Wiki](https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses)
- [Base58](https://github.com/tuupola/base58)
- [Stacks](https://stacks.co/)
- [c32check in TypeScript](https://github.com/stacks-network/c32check)

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance63

Regular maintenance activity

Popularity5

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 57.6% 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

761d ago

### Community

Maintainers

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

---

Top Contributors

[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (19 commits)")[![matronator](https://avatars.githubusercontent.com/u/5470780?v=4)](https://github.com/matronator "matronator (12 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

---

Tags

bitcoinblockchainbtcdecoderencoderstacksstacks-addressstacks-blockchainstacks-walletstx

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/matronator-c32check/health.svg)

```
[![Health](https://phpackages.com/badges/matronator-c32check/health.svg)](https://phpackages.com/packages/matronator-c32check)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M20.0k](/packages/laravel-framework)[ramsey/uuid

A PHP library for generating and working with universally unique identifiers (UUIDs).

12.6k745.0M4.0k](/packages/ramsey-uuid)[brick/money

Money and currency library

1.9k41.8M156](/packages/brick-money)[illuminate/database

The Illuminate Database package.

2.8k54.9M11.6k](/packages/illuminate-database)[flow-php/etl

PHP ETL - Extract Transform Load - Abstraction

378604.0k103](/packages/flow-php-etl)[illuminate/validation

The Illuminate Validation package.

18838.2M1.7k](/packages/illuminate-validation)

PHPackages © 2026

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