Download the PHP package coinrequest/blockchair-php-api without Composer
On this page you can find all versions of the php package coinrequest/blockchair-php-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download coinrequest/blockchair-php-api
More information about coinrequest/blockchair-php-api
Files in coinrequest/blockchair-php-api
Package blockchair-php-api
Short Description PHP API client for BlockChair
License MIT
Informations about the package blockchair-php-api
BlockChair PHP API Client
PHP package for the BlockChair API.
Getting Started
Run the following command to install this package into your project.
Prerequisites
You will need Composer to install this package.
Installing
After installing this package with composer, create a new BlockChair instance.
Something like this
And call the desired endpoint
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
Run the tests in the Tests directory with PHPUnit.
Built With
- BlockChair - For the Blockchain data :)
- PHPUnit - Test Framework
- Guzzle - For HTTP Requests
Contributing
Please help us to develop this package. Every input and/or feedback is really appreciated!
License
This project is licensed under the MIT License.
All versions of blockchair-php-api with dependencies
composer/ca-bundle Version ^1.1
php Version >=5.6
ext-curl Version *
ext-json Version *
ext-openssl Version *