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

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

vaneves/bitcoin-php
===================

Library for lists of transactions Bitcoin

0.0.1(8y ago)2105PHPPHP &gt;=5.3.0

Since Feb 28Pushed 8y ago1 watchersCompare

[ Source](https://github.com/vaneves/bitcoin-php)[ Packagist](https://packagist.org/packages/vaneves/bitcoin-php)[ RSS](/packages/vaneves-bitcoin-php/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (2)Used By (0)

🔗 Query to Bitcoin via PHP
==========================

[](#-query-to-bitcoin-via-php)

Installing
----------

[](#installing)

Via Composer

```
composer require vaneves/bitcoin-php
```

Usage
-----

[](#usage)

### Create Address

[](#create-address)

Creates a new address.

```
use Vaneves\Bitcoin\Network;
use Vaneves\Bitcoin\Bitcoin;
use Vaneves\Bitcoin\BitcoinException;

try {
    $network = new Network('http://username:password@127.0.0.1:18332');
    $bitcoin = new Bitcoin($network);
    $address = $bitcoin->account('vaneves')->newAddress();

    echo $address;

} catch (BitcoinException $e) {
    echo $e->getMessage();
} catch (\Exception $e) {
    echo $e->getMessage();
}
```

### List Transactions

[](#list-transactions)

List all transactions received and sent.

```
use Vaneves\Bitcoin\Network;
use Vaneves\Bitcoin\Bitcoin;
use Vaneves\Bitcoin\BitcoinException;

try {
    $network = new Network('http://username:password@127.0.0.1:18332');
    $bitcoin = new Bitcoin($network);

    $offset = 0;
    $limit = 100;
    $transactions = $bitcoin->transaction()->paginate($offset, $limit);
    print_r($transactions);
} catch (BitcoinException $e) {
    echo $e->getMessage();
} catch (\Exception $e) {
    echo $e->getMessage();
}
```

License
-------

[](#license)

The MIT License (MIT)

Donate
------

[](#donate)

Bitcoin address: **1H6ssXbPbLeDVQNf9PqaarTEeG9sjurEgm**

[![](https://camo.githubusercontent.com/43e6898277e4487e3a877437fc6fb4c6d68d2b01adc5dcb9b911f93ac41b64c4/68747470733a2f2f63686172742e676f6f676c65617069732e636f6d2f63686172743f6368743d7172266368733d323330783233302663686c3d3148367373586250624c654456514e663950716161725445654739736a757245676d)](https://camo.githubusercontent.com/43e6898277e4487e3a877437fc6fb4c6d68d2b01adc5dcb9b911f93ac41b64c4/68747470733a2f2f63686172742e676f6f676c65617069732e636f6d2f63686172743f6368743d7172266368733d323330783233302663686c3d3148367373586250624c654456514e663950716161725445654739736a757245676d)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

2998d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/78dd10e51f9ab3b0d703a4f61c9bd1415deb74b6401a3468b221e9f5f73fc990?d=identicon)[vaneves](/maintainers/vaneves)

---

Top Contributors

[![vaneves](https://avatars.githubusercontent.com/u/146581?v=4)](https://github.com/vaneves "vaneves (3 commits)")

---

Tags

bitcoin-apiphp-librarybitcoin

### Embed Badge

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

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

###  Alternatives

[bitcoin-php/bitcoin-ecdsa

PHP library allowing to generate BTC addresses from private keys

23062.6k7](/packages/bitcoin-php-bitcoin-ecdsa)[bitwasp/bitcoin-lib

Implementation of raw transactions in bitcoin, HD wallets, Electrum wallets, and other fun stuff.

13922.3k5](/packages/bitwasp-bitcoin-lib)[jimmerioles/bitcoin-currency-converter-php

A simple and lightweight bitcoin to currency converter and vice versa based on current exchange rates from your chosen provider: Coinbase, Coindesk, Bitpay and etc.

132.7k](/packages/jimmerioles-bitcoin-currency-converter-php)

PHPackages © 2026

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