OpenViSTAI · Agents · Blockchain · Crypto
Menu
Developer Tools

Bitcoin Php

Bitcoin Php is an open-source PHP library that implements Bitcoin data structures and operations, including transaction handling, script tools, deterministic key and seed formats, and Electrum/Stratum server bindings.

Independent OpenViST project profile, based on linked sources.

Bitcoin Php — OpenViST project profile in Developer Tools.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when a PHP application needs Bitcoin data structures or operations in-process, such as transaction construction and parsing, script interpretation, deterministic key workflows or Electrum/Stratum communication.

Who it is for

  • PHP developers adding Bitcoin transaction and script handling to applications.
  • Developers building tools to inspect Bitcoin block and merkle data.
  • Teams implementing deterministic key or seed workflows using BIP32, BIP39 or older Electrum formats.
  • PHP developers connecting tools to Electrum/Stratum servers.

Documented uses

  • Construct, parse, sign and validate Bitcoin transactions in PHP.
  • Parse, interpret and classify supported Bitcoin scripts, including P2SH and SegWit scripts.
  • Work with blocks, headers, merkle blocks and bloom filters.
  • Handle deterministic signatures, keys and seed formats.
  • Add Electrum/Stratum server bindings to PHP tools.
Before you choose

Requirements & limits

The repository identifies the project as open source under the Unlicense. Installation is through Composer; 32-bit PHP installations are unsupported.

  • Composer is the only supported installation method, and 32-bit PHP is unsupported.
  • The implementation is described as mostly pure PHP, but the elliptic-curve implementation can use libsecp256k1 if bindings are found; PhpEcc is the default.
  • The repository lists bindings to libbitcoinconsensus and Electrum/Stratum servers without specifying server versions or operational guarantees.
  • Repository documentation does not establish wallet security or production readiness.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Install Bitcoin Php with Composer

Add the library to a PHP project using its documented installation method.

Before you start

  • A PHP installation that is not 32-bit.
  • Composer.

Steps

  1. From the project directory, run composer require bitwasp/bitcoin.

  2. Consult the repository's Introduction documentation for the next stage of using the library.

Expected outcome

The library is added to the PHP project through Composer.

Guide limitations

  • Composer is the only supported installation method.
  • 32-bit PHP installations are unsupported.
  • The README describes the documentation as an introduction to the library.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
14 October 2026
Original website title
Bit-Wasp/bitcoin-php · Official homepage title · retained in its source language