Download the PHP package ftab/php-dogecoinrpc without Composer
On this page you can find all versions of the php package ftab/php-dogecoinrpc. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package php-dogecoinrpc
Simple Dogecoin JSON-RPC client based on https://github.com/denpamusic/php-bitcoinrpc
Installation
Run in your project directory or add following lines to composer.json
and run .
Requirements
PHP 7.1 or higher
Usage
Create new object with url as parameter
or use array to define your dogecoind settings
Then call methods defined in Dogecoin Core API with magic:
To send asynchronous request, add Async to method name:
You can also send requests using request method:
or requestAsync method for asynchronous calls:
Exceptions
ftab\Dogecoin\Exceptions\BadConfigurationException
- thrown on bad client configuration.ftab\Dogecoin\Exceptions\BadRemoteCallException
- thrown on getting error message from daemon.ftab\Dogecoin\Exceptions\ConnectionException
- thrown on daemon connection errors (e. g. timeouts)
Helpers
Package provides following helpers to assist with value handling.
to_dogecoin()
Converts value in dogetoshi to dogecoin.
to_dogetoshi()
Converts value in dogecoin to dogetoshi.
to_fixed()
Trims value to precision without rounding.
License
This product is distributed under MIT license.
Donations
Let's give some love to Denpa
If you like this project, please consider donating to the original author of php-bitcoinrpc as they did all the work:
BTC: 3L6dqSBNgdpZan78KJtzoXEk9DN3sgEQJu
Bech32: bc1qyj8v6l70c4mjgq7hujywlg6le09kx09nq8d350
❤Thanks for your support!❤
dogecoin fork
I guess I could take a doge or two for making this fork too? Dunno. Feels weird when all I'm doing is diffing and editing.
- DOGE: DATfurydmRTZ6vJnBtaibHJYMdx9JYjL4n
Or check out the game I'm putting it in, and throw your doge at some of the in-game goodies!