2017 © Pedro Peláez
 

library chill

CouchDb client library for PHP 5.3+

image

chill/chill

CouchDb client library for PHP 5.3+

  • Wednesday, February 11, 2015
  • by dancryer
  • Repository
  • 7 Watchers
  • 28 Stars
  • 3,687 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 8 Forks
  • 4 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Chill - PHP Library for CouchDb

Chill is a simple and efficient CouchDb client library for PHP. Released under the BSD 2 Clause Licence and made available via Composer/Packagist., (*1)

Current Build Status:, (*2)

Build Status, (*3)

Example usage

Retrieve a single document by ID:, (*4)

$chill = new Chill\Client('localhost', 'my_database');
$doc = $chill->get('8128173972d50affdb6724ecbd00d9fc');
print $doc['_id'];

Retrieve the results of a view as Chill Document objects:, (*5)

$chill = new Chill\Client('localhost', 'my_database');
$docs = $chill->asDocuments()->getView('mydesign', 'myview', array('key1', 'key2'));

foreach ($docs as $doc) {
    print $doc->_id . PHP_EOL;
} 

Retrieve and update a document, (*6)

$chill = new Chill\Client('localhost', 'my_database');
$doc = $chill->get('8128173972d50affdb6724ecbd00d9fc');
$doc->title = 'Changing my doc.';
$doc->save();

With thanks to

The Versions

11/02 2015

dev-master

9999999-dev https://github.com/dancryer/Chill

CouchDb client library for PHP 5.3+

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0

 

database library couchdb client couch

26/02 2013

v1.0.0

1.0.0.0 https://github.com/dancryer/Chill

CouchDb client library for PHP 5.3+

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.0

 

database library couchdb client couch