PHPackages                             createproblem/bitmessage-php - 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. createproblem/bitmessage-php

ActiveLibrary

createproblem/bitmessage-php
============================

Bitmessage PHP library

51521PHP

Since Aug 16Pushed 12y ago1 watchersCompare

[ Source](https://github.com/createproblem/bitmessage-php)[ Packagist](https://packagist.org/packages/createproblem/bitmessage-php)[ RSS](/packages/createproblem-bitmessage-php/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

bitmessage-php
==============

[](#bitmessage-php)

Bitmessage-php is a backend library to communicate with an installed [Bitmessage](https://bitmessage.org/wiki/Main_Page) client.

In this context the installed Bitmessage client is the server where the communication passed.

Bitmessage-Api features to communicate with the client gui directly are not inclueded. Its a server side library.

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

[](#installation)

You can install bitmessage-php using composer

```
"require": {
    "username/bitmessage-php": "dev-master"
}
```

or just typing `composer require username/bitmessage-php`

Usage
-----

[](#usage)

**Example: Hello World**

```
$bmc = new Bitmessage\BitmessageClient('localhost', 8442, 'testUser', 'testPw');
echo $bmc->test('helloWorld', 'Hello', 'World');
Hello-World
```

**Example: Create Random Address**

```
$bmc = new Bitmessage\BitmessageClient('localhost', 8442, 'testUser', 'testPw');
echo $bmc->createRandomAddress('Test-Label');
BM-2D7QKHUhFGd7SKwtVSzawWpB3Mmw5j8BNw
```

**Example: Send message**

```
$bmc = new Bitmessage\BitmessageClient('localhost', 8442, 'testUser', 'testPw');
echo $bmc->sendMessage('to-address', 'from-address', 'subject', 'message');
b3ce1c0308eb0765e0c67eeaf851fc8d0d752359c8f1e499d1fe02e39affbc67
```

***NOTICE***

> The `from-address` have to be present as an identity in the bitmessage client.

Testing
-------

[](#testing)

You can run all unit tests at once by executing `phpunit` in the root directory.

`~/bitmessage-php $ phpunit`

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/993b0fb7c28fcb8cb16a890c73595101213766e40e9acfa3ae1ae7d394855318?d=identicon)[createproblem](/maintainers/createproblem)

### Embed Badge

![Health badge](/badges/createproblem-bitmessage-php/health.svg)

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

PHPackages © 2026

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