PHPackages                             brooksyang/chia-utils - 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. brooksyang/chia-utils

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

brooksyang/chia-utils
=====================

Chia(XCH) Utils

v1.0.1(4y ago)96943[3 issues](https://github.com/BrooksYang/chia-utils/issues)1MITPHP

Since Jun 7Pushed 4y ago1 watchersCompare

[ Source](https://github.com/BrooksYang/chia-utils)[ Packagist](https://packagist.org/packages/brooksyang/chia-utils)[ Docs](https://github.com/BrooksYang/chia-utils)[ RSS](/packages/brooksyang-chia-utils/feed)WikiDiscussions main Synced 3d ago

READMEChangelogDependencies (1)Versions (3)Used By (1)

Chia Utils
==========

[](#chia-utils)

### Install

[](#install)

```
composer require brooksyang/chia-utils

```

### Usage

[](#usage)

New Instance.

```
$chiaUtils = new ChiaUtils();
```

Convert Chia Address to Puzzle Hash.

```
$chiaUtils->addressToPuzzleHash('xch189j3nf9anmwx2yex7xnrz0lrqzsanwatpjx8h0l5nqcdjpttl0ystkzf8t');

> 0x396519a4bd9edc651326f1a6313fe300a1d9bbab0c8c7bbff49830d9056bfbc9
```

Convert Chia Puzzle Hash to Address.

```
$chiaUtils->puzzleHashToAddress('0x396519a4bd9edc651326f1a6313fe300a1d9bbab0c8c7bbff49830d9056bfbc9');

> xch189j3nf9anmwx2yex7xnrz0lrqzsanwatpjx8h0l5nqcdjpttl0ystkzf8t
```

Get Coin Info

```
$parentCoinId = '0xf06c9fe019ab67bc87de15b44b5b05da7af1ffbd3b3d390c6cd77ca832fc31d8';
$puzzleHash = '0xf3d54989b6ccf5d386f7c57e91678176ed0187aeaca849a32c4646ba603b7e6e';
$amount = 0.01;
$this->getCoinInfo($parentCoinId, $puzzleHash, $amount);

> 0x2d9dadc33ae71e0452f96c9544d2040275c9b37025c42764b0017a63cc8a2af6
```

### Donations

[](#donations)

- TRX: `TB8gbB3erNn96poiMumkzX7my4Em9Lx9oG`
- XCH: `xch1w0k7fwzrdkt8xqth45zln0d9anvw7gs26lkgv3yhngrdct7hkpmqdpyhmp`

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity53

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

Every ~99 days

Total

2

Last Release

1702d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7ee0e5f72e548ff169a7eca2747b8990e16d43b94d33d2b08af7029049da240c?d=identicon)[BrooksYang](/maintainers/BrooksYang)

---

Top Contributors

[![brooksyang](https://avatars.githubusercontent.com/u/20674504?v=4)](https://github.com/brooksyang "brooksyang (1 commits)")

---

Tags

chiachia-utilsbrooksyangchia-phpchia-apichia-addresschia-puzzle-hashchia-coin

### Embed Badge

![Health badge](/badges/brooksyang-chia-utils/health.svg)

```
[![Health](https://phpackages.com/badges/brooksyang-chia-utils/health.svg)](https://phpackages.com/packages/brooksyang-chia-utils)
```

###  Alternatives

[cytopia/awesome-ci

Lot's of tools for git, file and static source code analysis.

3386.4k](/packages/cytopia-awesome-ci)[vich/geographical-bundle

Geographical functionality for ORM and ODM entities and JavaScript maps rendering

10428.0k](/packages/vich-geographical-bundle)

PHPackages © 2026

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