PHPackages                             shanelic/bitcoin-p8 - 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. shanelic/bitcoin-p8

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

shanelic/bitcoin-p8
===================

PHP Bitcoin library with functions for transactions, signatures, serialization, Random/Deterministic ECDSA keys, blocks, RPC bindings

v1.0.5(3y ago)0567UnlicensePHP

Since May 1Pushed 3y agoCompare

[ Source](https://github.com/shanelic/bitcoin-php8)[ Packagist](https://packagist.org/packages/shanelic/bitcoin-p8)[ Docs](https://github.com/shanelic/bitcoin-php)[ RSS](/packages/shanelic-bitcoin-p8/feed)WikiDiscussions 1.0 Synced 4w ago

READMEChangelogDependencies (12)Versions (86)Used By (0)

Bitcoin
-------

[](#bitcoin)

[![Build Status](https://camo.githubusercontent.com/9095f9dc72fbc4a98c4698a451a3eafe42614db93f5e46a0a50edf0b7c3185e3/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6269742d776173702f626974636f696e2d7068702f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/bit-wasp/bitcoin-php/build-status/master)[![Code Coverage](https://camo.githubusercontent.com/8b8dc51b681f539cfe64ff901727c8feb221f3f568fe63c97380cc9250e98d1b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6269742d776173702f626974636f696e2d7068702f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/bit-wasp/bitcoin-php/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/c405569eb219a0affd32a4c9182f1b619a1af5589df3850966ec699cddb20df1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4269742d576173702f626974636f696e2d7068702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Bit-Wasp/bitcoin-php/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/70a30dfcfc6b27b4b5a81d03ff16a8966a84c18a72a63c1e0a7118e6c35d81f8/68747470733a2f2f706f7365722e707567782e6f72672f626974776173702f626974636f696e2f762f737461626c652e706e67)](https://packagist.org/packages/bitwasp/bitcoin)

This repository contains an implementation of Bitcoin using mostly pure PHP.

*Warning*: This library does not support 32-bit installs of PHP. Please also note that composer is the only supported installation method.

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

[](#installation)

You can install this library via Composer: `composer require bitwasp/bitcoin`

Contributing
------------

[](#contributing)

All contributions are welcome. Please see \[[this page](https://github.com/Bit-Wasp/bitcoin-php/blob/master/CONTRIBUTING.md)\] before you get started

Documentation
-------------

[](#documentation)

Check out the beginnings of the documentation for the library: \[[Introduction](doc/documentation/Introduction.md)\]

Presently supported:
--------------------

[](#presently-supported)

- Blocks, headers, and merkle blocks and bloom filters
- P2SH &amp; Segregated witness scripts
- An adaptable elliptic-curve library, using \[[PhpEcc](https://github.com/mdanter/phpecc)\] by default, or libsecp256k1 if the bindings are found
- Support for building, parsing, signing/validating transactions
- Deterministic signatures (RFC6979)
- BIP32 and electrum (older type I) deterministic key algorithms
- BIP39, and the older electrum seed format.
- ScriptFactory for common input/output types, parser, interpreter, and classifiers
- Supports bindings to libbitcoinconsensus
- Bindings to Stratum (electrum) servers

Other projects
==============

[](#other-projects)

- [buffertools-php](https://github.com/Bit-Wasp/buffertools-php) - Toolkit for working with binary data in PHP
- [ext-secp256k1](https://github.com/Bit-Wasp/secp256k1-php) - PHP bindings to libsecp256k1
- [ext-bitcoinconsensus](https://github.com/Bit-Wasp/bitcoinconsensus-php) - PHP bindings to libbitcoinconsensus
- [bitcoin-p2p-php](https://github.com/Bit-Wasp/bitcoin-p2p-php) - PHP implementation of bitcoin P2P messaging using reactphp
- [stratum-php](https://github.com/Bit-Wasp/stratum-php) - PHP implementation of the stratum protocol using reactphp
- [electrum-discovery-php](https://github.com/Bit-Wasp/electrum-discovery-php) - Electrum server discovery (over IRC) using reactphp
- [node-php](https://github.com/Bit-Wasp/node-php) - A toy project (really just for fun) a full node using bitcoin-p2p-php
- [bip70-php](https://github.com/bip70/bip70-php) - A BIP70 (payment requests) implementation for PHP

Supporters
----------

[](#supporters)

This library is a 100% open source project. We do not receive any funding from the industry, nor provide paid support or development of features. That said, we are grateful for our supporters who provide free access for open source projects:

[![JetBrains](https://avatars0.githubusercontent.com/u/878437?s=200&v=4)](https://www.jetbrains.com/)

Thanks to [JetBrains](https://www.jetbrains.com/) for supporting the project through sponsoring some [All Products Packs](https://www.jetbrains.com/products.html) within their [Free Open Source License](https://www.jetbrains.com/buy/opensource/) program.

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 93.2% 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 ~32 days

Recently: every ~259 days

Total

85

Last Release

1335d ago

Major Versions

v0.0.35.1 → v1.0.02018-12-17

v0.0.35.2 → v1.0.22019-11-08

0.0.34.x-dev → v1.0.42019-12-10

PHP version history (3 changes)0.0.1PHP &gt;=5.4.0

v0.0.25PHP &gt;=5.5

v0.0.27PHP &gt;=5.6

### Community

Maintainers

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

---

Top Contributors

[![afk11](https://avatars.githubusercontent.com/u/5617245?v=4)](https://github.com/afk11 "afk11 (1242 commits)")[![rubensayshi](https://avatars.githubusercontent.com/u/649160?v=4)](https://github.com/rubensayshi "rubensayshi (49 commits)")[![willgriffin](https://avatars.githubusercontent.com/u/590602?v=4)](https://github.com/willgriffin "willgriffin (10 commits)")[![nmarley](https://avatars.githubusercontent.com/u/1735354?v=4)](https://github.com/nmarley "nmarley (5 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (4 commits)")[![olegabr](https://avatars.githubusercontent.com/u/2850808?v=4)](https://github.com/olegabr "olegabr (3 commits)")[![murich](https://avatars.githubusercontent.com/u/619908?v=4)](https://github.com/murich "murich (2 commits)")[![Crypto2](https://avatars.githubusercontent.com/u/7625236?v=4)](https://github.com/Crypto2 "Crypto2 (2 commits)")[![dubuqingfeng](https://avatars.githubusercontent.com/u/6101854?v=4)](https://github.com/dubuqingfeng "dubuqingfeng (2 commits)")[![Vasiliy-Bondarenko](https://avatars.githubusercontent.com/u/5263184?v=4)](https://github.com/Vasiliy-Bondarenko "Vasiliy-Bondarenko (2 commits)")[![DeftNerd](https://avatars.githubusercontent.com/u/3002275?v=4)](https://github.com/DeftNerd "DeftNerd (2 commits)")[![flxstn](https://avatars.githubusercontent.com/u/6398498?v=4)](https://github.com/flxstn "flxstn (2 commits)")[![tkuska](https://avatars.githubusercontent.com/u/1619751?v=4)](https://github.com/tkuska "tkuska (1 commits)")[![bryant1410](https://avatars.githubusercontent.com/u/3905501?v=4)](https://github.com/bryant1410 "bryant1410 (1 commits)")[![zilveer](https://avatars.githubusercontent.com/u/570164?v=4)](https://github.com/zilveer "zilveer (1 commits)")[![hauptmedia](https://avatars.githubusercontent.com/u/10770719?v=4)](https://github.com/hauptmedia "hauptmedia (1 commits)")[![poldridge](https://avatars.githubusercontent.com/u/6935589?v=4)](https://github.com/poldridge "poldridge (1 commits)")[![romanornr](https://avatars.githubusercontent.com/u/6548898?v=4)](https://github.com/romanornr "romanornr (1 commits)")[![DaShak](https://avatars.githubusercontent.com/u/1576844?v=4)](https://github.com/DaShak "DaShak (1 commits)")[![samnela](https://avatars.githubusercontent.com/u/1852108?v=4)](https://github.com/samnela "samnela (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/shanelic-bitcoin-p8/health.svg)

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

###  Alternatives

[bitwasp/bitcoin

PHP Bitcoin library with functions for transactions, signatures, serialization, Random/Deterministic ECDSA keys, blocks, RPC bindings

1.1k533.2k43](/packages/bitwasp-bitcoin)[protonlabs/bitcoin

PHP Bitcoin library with functions for transactions, signatures, serialization, Random/Deterministic ECDSA keys, blocks, RPC bindings

33187.4k8](/packages/protonlabs-bitcoin)

PHPackages © 2026

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