We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6526fc7 commit baffa08Copy full SHA for baffa08
README.md
@@ -21,6 +21,10 @@ composer require nbobtc/bitcoind-php
21
To use the project you need to just create a new instance of the class.
22
23
```php
24
+<?php
25
+
26
+require __DIR__ . '/vendor/autoload.php';
27
28
$command = new \Nbobtc\Command\Command('getinfo');
29
$client = new \Nbobtc\Http\Client('https://username:password@localhost:18332');
30
@@ -29,6 +33,9 @@ $response = $client->sendCommand($command);
33
34
/** @var string */
31
35
$contents = $response->getBody()->getContents();
36
+echo $contents;
37
38
32
39
```
40
41
You are able to get the [Request] and [Response] objects back from
0 commit comments