The Couchbase PHP SDK is a PHP library that wraps the Couchbase C SDK. Before installing this library, the C library must be installed.
Currently, the latest version is 2.0.2. This SDK should be used for all development against Couchbase Server versions from 2.5 to 3.x.
Linux users will be able to install the PHP SDK with pecl
as follows:
$ pecl install couchbase
Additionally, the SDK team publishes Windows binaries, which may be found at http://docs.couchbase.com/developer/php-2.0/download-links.html. The source code for the library is available on GitHub at https://github.com/couchbase/php-ext-couchbase.