PHPackages                             barechain/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. [API Development](/categories/api)
4. /
5. barechain/bitcoin

ActiveLibrary[API Development](/categories/api)

barechain/bitcoin
=================

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

v1.0.1(3y ago)01.2k1[1 issues](https://github.com/barechain/bitcoin/issues)1UnlicensePHP

Since Oct 24Pushed 3y ago1 watchersCompare

[ Source](https://github.com/barechain/bitcoin)[ Packagist](https://packagist.org/packages/barechain/bitcoin)[ Docs](https://github.com/barechain/bitcoin)[ RSS](/packages/barechain-bitcoin/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (2)Dependencies (10)Versions (4)Used By (1)

Bitcoin
-------

[](#bitcoin)

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

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

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

[](#installation)

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

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

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

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

Total

2

Last Release

1349d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8aade6fdc2a02f3746572c1e2104443c769d9f4491f67b440bebb1e3b2f97b31?d=identicon)[sanmanto\_dev](/maintainers/sanmanto_dev)

---

Top Contributors

[![uranoff235](https://avatars.githubusercontent.com/u/65241826?v=4)](https://github.com/uranoff235 "uranoff235 (2 commits)")

### Embed Badge

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

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

###  Alternatives

[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[statamic/cms

The Statamic CMS Core Package

4.8k3.6M986](/packages/statamic-cms)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[symfony/asset-mapper

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

1678.8M238](/packages/symfony-asset-mapper)[wp-cli/core-command

Downloads, installs, updates, and manages a WordPress installation.

5211.3M30](/packages/wp-cli-core-command)

PHPackages © 2026

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