Library that provides ways to use CouchDB2 for PHP developers.
Install the library like this composer require fabs/couchdb2:dev-develop
// Create an instance
$config = new Config('127.0.0.1', 5984, 'username', 'password');
$client = new Couch($config);
// Get document by ID
$doc = $client
->selectDatabase('test_database')
->getDoc('some_doc_id')
->execute();
## More...