PHPackages                             webworker01/komodophp - 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. webworker01/komodophp

ActiveLibrary

webworker01/komodophp
=====================

Library to interact with Komodo-based blockchains

v0.1.7(3y ago)3182[2 issues](https://github.com/webworker01/komodophp/issues)GPL-3.0-or-laterPHPPHP &gt;=7.0.0

Since Apr 21Pushed 3y ago2 watchersCompare

[ Source](https://github.com/webworker01/komodophp)[ Packagist](https://packagist.org/packages/webworker01/komodophp)[ RSS](/packages/webworker01-komodophp/feed)WikiDiscussions master Synced today

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

komodophp
=========

[](#komodophp)

A library for manipulating Komodo addresses and keys and interacting with Electrum servers

Usage
=====

[](#usage)

`composer require webworker01/komodophp`

Working with Addressess and Keys
--------------------------------

[](#working-with-addressess-and-keys)

For manipulating Komodo addresses and keys please see docs in

You will pass in the Komodo object

```
use webworker01\Komodo\Komodo;
use BitWasp\Bitcoin\Address\AddressCreator;

$komodo = new Komodo();
$addrCreator = new AddressCreator();

$addressInput = 'RWEBo1Yp4uGkeXPi1ZGQARfLPkGmoW1MwY';

try {
    $address = $addrCreator->fromString($addressInput, $komodo);
} catch ( \BitWasp\Bitcoin\Exceptions\UnrecognizedAddressException $e) {
    $errormessage = 'The address you entered is not valid, please try again';
    echo $errormessage;
}
```

Working with ElectrumX
----------------------

[](#working-with-electrumx)

```
use webworker01\Komodo\Electrum;

$electrum = new Electrum();

$electrum->connect($electrumhost, $electrumport);
$unspent = $electrum->blockchainAddressListunspent($address);
```

Working with CLI
----------------

[](#working-with-cli)

Simple CLI/RPC interface to a locally running full node.

This class is not aware of commands in komodod, so any data validation is handled by the daemon.

```
use webworker01\Komodo\Cli;

$cli = new Cli();

$notarizations = $cli->run('getaddresstxids', [['addresses' => [$notarizationAddress], 'start' => $currentblock, 'end' => $currentendblock]] );

foreach ($notarizations as $tx) {
    $rawtx = $cli->run('getrawtransaction', [$tx, 1]);
}
```

Opreturn
--------

[](#opreturn)

Decode opreturns to search for notarization data

```
use webworker01\Komodo\Opreturn;

$opreturn = new Opreturn();

$notarisationdata = $opreturn->decode($rawtx->vout[1]->scriptPubKey->hex);
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80.8% 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 ~285 days

Total

5

Last Release

1435d ago

### Community

Maintainers

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

---

Top Contributors

[![webworker01](https://avatars.githubusercontent.com/u/3256000?v=4)](https://github.com/webworker01 "webworker01 (21 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")

### Embed Badge

![Health badge](/badges/webworker01-komodophp/health.svg)

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k20](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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