PHPackages                             coinrequest/blockchair-php-api - 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. coinrequest/blockchair-php-api

ActiveLibrary[API Development](/categories/api)

coinrequest/blockchair-php-api
==============================

PHP API client for BlockChair

0.1.1(7y ago)81.2k5[4 issues](https://github.com/CoinRequest/Blockchair-PHP-API/issues)MITPHPPHP &gt;=5.6CI failing

Since Jun 27Pushed 4y ago2 watchersCompare

[ Source](https://github.com/CoinRequest/Blockchair-PHP-API)[ Packagist](https://packagist.org/packages/coinrequest/blockchair-php-api)[ RSS](/packages/coinrequest-blockchair-php-api/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (4)Versions (3)Used By (0)

BlockChair PHP API Client
=========================

[](#blockchair-php-api-client)

PHP package for the [BlockChair](https://blockchair.com) API.

Getting Started
---------------

[](#getting-started)

Run the following command to install this package into your project.

```
composer require coinrequest/blockchair-php-api

```

### Prerequisites

[](#prerequisites)

You will need Composer to install this package.

### Installing

[](#installing)

After installing this package with composer, create a new BlockChair instance.

Something like this

```
$blockChair = new BlockChair();

```

And call the desired endpoint

```
$blockChair->bitcoin->stats();

```

Chains:

- Bitcoin
- Ethereum
- BitcoinCash
- BitcoinSv
- Litecoin
- Dogecoin
- Dash
- Groestlcoin

The current implemented endpoints are:

- {chain}/stats
- {chain}/dashboards/block/{blockId}
- {chain}/dashboards/transaction/{txId}
- {chain}/dashboards/address/{address}
- ethereum/dashboards/uncle/{txId}

Running the tests
-----------------

[](#running-the-tests)

Run the tests in the Tests directory with PHPUnit.

Built With
----------

[](#built-with)

- [BlockChair](https://api.blockchair.com) - For the Blockchain data :)
- [PHPUnit](https://github.com/sebastianbergmann/phpunit/) - Test Framework
- [Guzzle](https://github.com/guzzle/guzzle) - For HTTP Requests

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

[](#contributing)

Please help us to develop this package. Every input and/or feedback is really appreciated!

License
-------

[](#license)

This project is licensed under the MIT License.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity45

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

2561d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/52291854?v=4)[CoinRequest](/maintainers/CoinRequest)[@CoinRequest](https://github.com/CoinRequest)

---

Top Contributors

[![Paulsky](https://avatars.githubusercontent.com/u/9481318?v=4)](https://github.com/Paulsky "Paulsky (5 commits)")

---

Tags

blockchainblockchain-explorerblockchaircryptocurrencycryptocurrencyblockchainblockchair

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/coinrequest-blockchair-php-api/health.svg)

```
[![Health](https://phpackages.com/badges/coinrequest-blockchair-php-api/health.svg)](https://phpackages.com/packages/coinrequest-blockchair-php-api)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k60](/packages/open-dxp-opendxp)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1943.1k5](/packages/aimeos-prisma)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)[hardcastle/xrpl_php

PHP SDK / Client for the XRP Ledger

1110.7k6](/packages/hardcastle-xrpl-php)

PHPackages © 2026

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