PHPackages                             bitwasp/bitcoin-node - 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. bitwasp/bitcoin-node

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

bitwasp/bitcoin-node
====================

A bitcoin node

v0.0.2(10y ago)20178UnlicencePHPPHP &gt;=5.4.0

Since Dec 19Pushed 8y ago7 watchersCompare

[ Source](https://github.com/Bit-Wasp/node-php)[ Packagist](https://packagist.org/packages/bitwasp/bitcoin-node)[ Docs](https://github.com/Bit-Wasp/node-php)[ RSS](/packages/bitwasp-bitcoin-node/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (10)Versions (6)Used By (0)

PHPNODE
-------

[](#phpnode)

A toolkit for building a bitcoin node, built with ReactPHP. See Design.md for more detailed overview.

This repository includes a console application built from the Symfony Console package.

The `BitcoinNode` class supports headers first download, and will then attempt to download the full block history. Since this will likely take a few days, I haven't had the patience to leave it running. Still much code to write.

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

[](#requirements)

- ext-zmq
- ext-gmp
- ext-json
- ext-curl
- ext-mcrypt

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

[](#installation)

To run the software:

```
git clone https://github.com/Bit-Wasp/node-php.git
composer install

```

To include in your projects:

```
composer require bitwasp/bitcoin-node

```

You'll need a SQL database &amp; credentials. Schema files are in ./sql Warning: these may be ruthlessly updated!

Configuration
-------------

[](#configuration)

Dump a blank config file: `phpnode print-config > config.ini`

Create in the default location: `mkdir ~/.phpnode && phpnode print-config > ~/.phpnode/bitcoin.ini`

Run the software
----------------

[](#run-the-software)

See the list of commands: `phpnode list`

Or general help: `phpnode help`

### Controlling the node

[](#controlling-the-node)

Start with config file in the default location: `phpnode node:start`

IMPORTANT: How to the stop the software (don't use CTRL-C) `phpnode node:stop`

Run with configuration in an alternative location: `phpnode node:start -c /tmp/yourconfig`

Watch a debug log of events reported by the node: `phpnode node:watch`

Show information about the node's best chain: `phpnode node:info`

Show information about all tracked chains: `phpnode node:chains`

### Administering the database

[](#administering-the-database)

Wipe the database: `phpnode db:wipe`

Empty all tables: `phpnode db:reset`

Empty only full block data (leave headers/index alone): `phpnode db:blocks:reset`

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity52

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 ~79 days

Total

2

Last Release

3766d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/763cdc5cc50414bacd4ff1080eede79432f7c3cc26a3d8aa9031b1537a8bd734?d=identicon)[thomaskerin](/maintainers/thomaskerin)

---

Top Contributors

[![afk11](https://avatars.githubusercontent.com/u/5617245?v=4)](https://github.com/afk11 "afk11 (217 commits)")

### Embed Badge

![Health badge](/badges/bitwasp-bitcoin-node/health.svg)

```
[![Health](https://phpackages.com/badges/bitwasp-bitcoin-node/health.svg)](https://phpackages.com/packages/bitwasp-bitcoin-node)
```

###  Alternatives

[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1175.2k](/packages/rcsofttech-audit-trail-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

101466.4k45](/packages/friendsoftypo3-content-blocks)[kimai/kimai

Kimai - Time Tracking

4.8k8.7k1](/packages/kimai-kimai)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9417.2k58](/packages/open-dxp-opendxp)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1615.6k12](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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