The Couchbase PHP SDK allows you to connect to a Couchbase cluster from PHP. The Couchbase PHP SDK is a native PHP extension and uses the Couchbase high-performance C library to handle communicating to the cluster over Couchbase binary protocols.
$ pecl install https://packages.couchbase.com/clients/php/couchbase-3.1.1.tgz
Couchbase PHP SDK 3.1
Dive right in with a quick install and Hello World.
The documentation supplements the practical Howto docs with references and concept guides, for those who prefer a broader understanding before diving in and coding.
The Couchbase PHP SDK 3.x is a complete rewrite of the API, reducing the number of overloads to present a simplified surface area, and adding support for future Couchbase Server features like Collections and Scopes (available in Couchbase Server 6.5 as a developer preview).
The Couchbase PHP SDK is compatible with PHP 7.3+.