fabs/couchdb2

CouchDB2 php client

v1.1.0 2018-09-30 10:30 UTC

This package is not auto-updated.

Last update: 2024-11-10 02:40:00 UTC


README

Library that provides ways to use CouchDB2 for PHP developers.

Install

Install the library like this composer require fabs/couchdb2:dev-develop

Quick Start

// 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...