Skip to content

habibmasuro/Bitcoin-PHP-API

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitcoin-PHP-API

Implementation in PHP for the Bitcoin RPC API.

This is the development version, composer install coming soon. 0.5.0 also available for people who just want the functionality.

You must have bitcoind installed on your server in order to use you can download it here. http://bitcoin.org/en/download

Getting Started (Branch 0.5.0)

To get started include the following code in your project.

include 'src/bitcoin/BitcoinFactory.php';

$bitcoind = \Bitcoin\BitcoinFactory::create("username", "password");

Now you can start interacting with bitcoind. Test it out with the following line of code.

var_dump($connection->getinfo());

Testing

When submitting any changes please ensure all tests are still running properly. This can be done running the code below when in the root directory.

$ vendor/bin/phpunit

Major Contributors

haveacigaro

About

Implementation in PHP for the Bitcoin RPC API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%