2017 © Pedro Peláez
 

library php-bitcoin-api

PHP implementation of the bitcoind JSON-RPC API

image

phramz/php-bitcoin-api

PHP implementation of the bitcoind JSON-RPC API

  • Wednesday, July 10, 2013
  • by Maximilian Reichel
  • Repository
  • 3 Watchers
  • 6 Stars
  • 243 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 3 % Grown

The README.md

phramz/php-bitcoin-api Build Status

This is (or will be) a full-blown implementation of the bitcoind JSON-RPC API written in PHP. Please be aware that this is still early alpha! Not all features are implemented yet and the interfaces are not stable. Anyways ... the basic features should already work as expected ;-), (*1)

Install

It's easy if you use composer!, (*2)

edit your composer.json, (*3)

``` json "require": { "phramz/php-bitcoin-api": "dev-master" }, (*4)


or via command line

php composer.phar require phramz/php-bitcoin-api, (*5)


License ------- This library is licensed under the MIT license. For further information see LICENSE file. Examples ------ ``` php <?php use Phramz\Bitcoin\Api\Connection\BuzzConnection; use Phramz\Bitcoin\Api\BitcoindClient; use Buzz\Browser; // setup a connection $connection = new BuzzConnection(new Browser(), '192.168.56.1', '8333', 'username123', 'password123'); // setup the client $bitcoinClient = new BitcoindClient($connection); echo "current balance: " . $bitcoinClient->getBalance() . PHP_EOL; echo "number of blocks: " . $bitcoinClient->getBlockCount() . PHP_EOL;

That's it! I hope this peace of software will be helpful! ... if you think it is ... feel free to donate some of your Bitcoins to keep the development going ;-) ``` php, (*6)

echo "transaction id: ". $bitcoinClient->sendToAddress('1JGNmDQVjk7T4S1pcvdDsPJsFuQuZcMDe8', 0.01, 'donation'); ```, (*7)

Have fun!, (*8)

The Versions

10/07 2013

dev-master

9999999-dev https://github.com/phramz/php-bitcoin-api

PHP implementation of the bitcoind JSON-RPC API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Maximilian Reichel

api php bitcoin json-rpc

06/07 2013

v0.1.0-alpha

0.1.0.0-alpha https://github.com/phramz/php-bitcoin-api

PHP implementation of the bitcoind JSON-RPC API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Maximilian Reichel

api php bitcoin json-rpc