Skip to content

Commit 7b8f32f

Browse files
committed
Move some README content to the wiki docs
1 parent 18ae163 commit 7b8f32f

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

README.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,6 @@ $server = new \PHPCouchDB\Server(["url" => "http://localhost:5984"]);
2525
echo $server->getVersion();
2626
```
2727

28-
If you need any additional configuration of the HTTP connection, then you can supply a `"client"` element to the constructor's array argument, and pass any `\GuzzleHttp\ClientInterface` object to that. Check the [documentation of Guzzle Request Options](http://docs.guzzlephp.org/en/stable/request-options.html) as all of these can also be passed in the constructor of the `\GuzzleHttp\Client`.
29-
30-
```php
31-
<?php
32-
33-
require "vendor/autoload.php";
34-
35-
$client = new \GuzzleHttp\Client([
36-
"base_uri" => "http://localhost:5984"
37-
// set any other options here
38-
]);
39-
40-
$server = new \PHPCouchDB\Server(["client" => $client]);
41-
echo $server->getVersion();
42-
```
43-
4428
## For Developers
4529

4630
Contributions and issues are all _very_ welcome on this project - and of course we'd love to hear how you're using the library in your own projects.

0 commit comments

Comments
 (0)