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

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

minulislam/bitcoin
==================

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

1.0.10(2y ago)07UnlicensePHP

Since May 1Pushed 1y agoCompare

[ Source](https://github.com/minulislam/bitcoin-php)[ Packagist](https://packagist.org/packages/minulislam/bitcoin)[ Docs](https://github.com/bit-wasp/bitcoin-php)[ RSS](/packages/minulislam-bitcoin/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (12)Versions (95)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/ebaed7b66182582b1d067ded3279917464a8ae4c5810c94095e125a80fdbfd62/68747470733a2f2f706f7365722e707567782e6f72672f70726f746f6e6c6162732f626974636f696e2f762f737461626c652e706e67)](https://packagist.org/packages/protonlabs/bitcoin)

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

> This repository is a fork of [Bit-Wasp/bitcoin-php](https://github.com/Bit-Wasp/bitcoin-php) with modern PHP compatibility.

*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 protonlabs/bitcoin`

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

[](#contributing)

All contributions are welcome. Please see \[[this page](https://github.com/ProtonMail/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

34

—

LowBetter than 77% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 92.4% 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 ~37 days

Recently: every ~138 days

Total

89

Last Release

761d ago

Major Versions

v0.0.35.1 → v1.0.02018-12-17

0.0.35.x-dev → 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/78dc74cd455a7e9798fc01b14e4ca92876cd25c73785c7b6856156a41ca39376?d=identicon)[minulislam](/maintainers/minulislam)

---

Top Contributors

[![afk11](https://avatars.githubusercontent.com/u/5617245?v=4)](https://github.com/afk11 "afk11 (1236 commits)")[![rubensayshi](https://avatars.githubusercontent.com/u/649160?v=4)](https://github.com/rubensayshi "rubensayshi (49 commits)")[![BafS](https://avatars.githubusercontent.com/u/588205?v=4)](https://github.com/BafS "BafS (10 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)")[![flxstn](https://avatars.githubusercontent.com/u/6398498?v=4)](https://github.com/flxstn "flxstn (2 commits)")[![olegabr](https://avatars.githubusercontent.com/u/2850808?v=4)](https://github.com/olegabr "olegabr (2 commits)")[![Vasiliy-Bondarenko](https://avatars.githubusercontent.com/u/5263184?v=4)](https://github.com/Vasiliy-Bondarenko "Vasiliy-Bondarenko (2 commits)")[![mathroc](https://avatars.githubusercontent.com/u/291531?v=4)](https://github.com/mathroc "mathroc (2 commits)")[![DeftNerd](https://avatars.githubusercontent.com/u/3002275?v=4)](https://github.com/DeftNerd "DeftNerd (2 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 (1 commits)")[![samnela](https://avatars.githubusercontent.com/u/1852108?v=4)](https://github.com/samnela "samnela (1 commits)")[![tkuska](https://avatars.githubusercontent.com/u/1619751?v=4)](https://github.com/tkuska "tkuska (1 commits)")[![tooruu](https://avatars.githubusercontent.com/u/40900803?v=4)](https://github.com/tooruu "tooruu (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)")[![dubuqingfeng](https://avatars.githubusercontent.com/u/6101854?v=4)](https://github.com/dubuqingfeng "dubuqingfeng (1 commits)")[![hauptmedia](https://avatars.githubusercontent.com/u/10770719?v=4)](https://github.com/hauptmedia "hauptmedia (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  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)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M158](/packages/orchestra-canvas)[symfony/asset-mapper

Maps directories of assets &amp; makes them available in a public directory with versioned filenames.

1656.9M131](/packages/symfony-asset-mapper)[internal/dload

Downloads binaries.

98142.7k10](/packages/internal-dload)

PHPackages © 2026

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