mincointools / php-mincoin
PHP classes used to make requests to the MinCoinTools API.
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/mincointools/php-mincoin
Requires
- php: >=5.4.0
- ext-curl: *
This package is not auto-updated.
Last update: 2026-01-17 21:36:08 UTC
README
PHP classes used to make requests to the MinCoinTools API. See the documentation at http://api.mincointools.net for the full documentation.
Examples
$mincoin = new MinCoinTools\MinCoin(); // Get list of recently created blocks. $blocks = $mincoin->getBlocks(10); var_dump($blocks); // Get information on a single block. $block = $mincoin->getBlock($blocks[0]["hash"]); var_dump($block); // Get statistics. $stats = $mincoin->getStats(10); var_dump($stats); // Get the most recent statistics. $recent = $mincoin->getRecent(); var_dump($recent); // Get recent transactions. $transactions = $mincoin->getTransactions(10); var_dump($transactions); // Get information on a single transaction. $transaction = $mincoin->getTransaction($transactions[0]["id"]); var_dump($transaction);
Requirements
- PHP 5.4 or greater
- cURL PHP extension
Installing
Install using Git by adding the classes to your project.
git clone git@github.com:mincointools/php-mincoin.git
Install using Composer by adding the project to your composer.json.
"mincointools/php-mincoin" : "dev-master"
License
This content is released under the MIT License. See the included LICENSE for more information.