PHPackages                             chill/chill - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. chill/chill

AbandonedArchivedLibrary[Database &amp; ORM](/categories/database)

chill/chill
===========

CouchDb client library for PHP 5.3+

v1.0.0(13y ago)263.7k8[1 PRs](https://github.com/Block8/Chill/pulls)BSD-2-ClausePHPPHP &gt;=5.3.0

Since Feb 26Pushed 11y ago5 watchersCompare

[ Source](https://github.com/Block8/Chill)[ Packagist](https://packagist.org/packages/chill/chill)[ Docs](https://github.com/dancryer/Chill)[ RSS](/packages/chill-chill/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Chill - PHP Library for CouchDb
===============================

[](#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](https://packagist.org/packages/chill/chill).

**Current Build Status:**

[![Build Status](https://camo.githubusercontent.com/093418d70f6d135657d639fe9cde69a819ee23afb720a6da2860399f1f16d81d/687474703a2f2f70687063692e626c6f636b382e6e65742f6275696c642d7374617475732f696d6167652f343f6272616e63683d6d6173746572)](http://phpci.block8.net/build-status/view/4?branch=master)

Example usage
-------------

[](#example-usage)

**Retrieve a single document by ID:**

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

**Retrieve the results of a view as Chill Document objects:**

```
$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**

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

With thanks to
--------------

[](#with-thanks-to)

- [Sylvain Filteau](https://github.com/sylvainfilteau) for contributing various bug fixes.
- [Luke Plaster](https://github.com/notatestuser) for contributing support for arrays as view parameters.
- [Ryan Hughes](https://github.com/ryanhughes) for fixing a bug related to PUT requests.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 68.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4820d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cd5d5f4ea43c7ed7b287a317941dbf1ad17e059779474a00c8570ffbcc1f493b?d=identicon)[dancryer](/maintainers/dancryer)

---

Top Contributors

[![dancryer](https://avatars.githubusercontent.com/u/35393?v=4)](https://github.com/dancryer "dancryer (15 commits)")[![sylvainfilteau](https://avatars.githubusercontent.com/u/337578?v=4)](https://github.com/sylvainfilteau "sylvainfilteau (4 commits)")[![notatestuser](https://avatars.githubusercontent.com/u/1255926?v=4)](https://github.com/notatestuser "notatestuser (2 commits)")[![ryanhughes](https://avatars.githubusercontent.com/u/284473?v=4)](https://github.com/ryanhughes "ryanhughes (1 commits)")

---

Tags

clientdatabaselibrarycouchdbcouch

### Embed Badge

![Health badge](/badges/chill-chill/health.svg)

```
[![Health](https://phpackages.com/badges/chill-chill/health.svg)](https://phpackages.com/packages/chill-chill)
```

###  Alternatives

[basho/riak

Official Riak client for PHP

159246.7k7](/packages/basho-riak)[rah/danpu

Zero-dependency MySQL dump library for easily exporting and importing databases

64401.8k10](/packages/rah-danpu)[stefangabos/zebra_database

An advanced, compact and lightweight MySQL database wrapper library, built around PHP's MySQLi extension.

11812.0k](/packages/stefangabos-zebra-database)[mroosz/php-cassandra

A pure-PHP client for Apache Cassandra and ScyllaDB with support for CQL binary protocol v3, v4 and v5 (Cassandra 2.1+ incl. 3.x-5.x; ScyllaDB 6.2 and 2025.x), synchronous and asynchronous APIs, prepared statements, batches, result iterators, object mapping, SSL/TLS, and LZ4 compression.

205.6k2](/packages/mroosz-php-cassandra)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
