A newer version of this documentation is available.

View Latest

Compatibility of Couchbase Features, Couchbase Versions and the Couchbase PHP SDK

    Compatibility Information for the Couchbase PHP SDK

    Couchbase Version/SDK Version Matrix

    Couchbase SDKs are tested against a variety of different environments to ensure both backward and forward compatibility with different versions of Couchbase Server. The matrix below denotes the version of Couchbase Server, the version of the PHP SDK and whether the SDK is:

    • Unsupported: This combination is not tested, and is not within the scope of technical support if you have purchased a support agreement.

    • Compatible: This combination has been tested previously, and should be compatible. This combination is not supported or recommended by our technical support organization. It is best to upgrade either the SDK or the Couchbase version you are using.

    • Supported:This combination is subject to ongoing quality assurance, and is fully supported by our technical support organization.

    Table 1. Couchbase PHP SDK and Couchbase Server Compatibility Version Matrix
    CB/SDK SDK 2.0 SDK 2.1 SDK 2.2 SDK 2.3 SDK 2.4

    CB 3.1

    CB 4.0 - 4.6

    CB 5.0 - 5.1

    Couchbase Feature Availability Matrix

    Table 2. Couchbase PHP SDK and Couchbase Server Feature Availability Matrix
    Server → 2.0 2.5 3.0 3.1 4.0 4.1 4.5 4.6 5.0

    Basic Features

    CRUD Operations

    PHP SDK 2.0

    View Querying APIs

    PHP SDK 2.0

    Geospatial Views

    Not Supported

    Since PHP SDK 2.0

    Advanced Features

    Durability Requirements

    PHP SDK 2.0.3

    Carrier Publication Configuration

    Not Supported

    Since PHP SDK 2.0

    SSL Connectivity

    Not Supported

    Since PHP SDK 2.0.7

    Bulk Operations

    PHP SDK 2.0

    N1QL Querying

    Not Supported

    Since PHP SDK 2.0.7

    Multi-Dimensional Scaling

    Not Supported

    Since PHP SDK 2.1

    Sub-document API

    Not Supported

    Since PHP SDK 2.2

    Fulltext Search

    Not Supported

    Since PHP SDK 2.2

    Extended Attributes

    Not Supported

    Since PHP SDK 2.3.4

    Administrative Features

    Administrative API

    Since PHP SDK 2.0


    Not Supported

    Since PHP SDK 2.3.2

    Couchbase PHP SDK Version 1.0

    Version 1.x of the Couchbase PHP SDK is no longer supported. If you are still using this version, you should upgrade as soon as possible to the latest version of the SDK. See the Couchbase Support Policy for details.

    Interface Stability

    Couchbase SDKs indicate the stability of an API through documentation. Since there are different meanings when developers mention stability, we mean interface stability: how likely the interface is to change or be removed entirely. A stable interface is one that is guaranteed not to change between versions, meaning that you may use an API of a given SDK version and be assured that the given API will retain the same parameters and behavior in subsequent versions. An unstable interface is one which may appear to work or behave in a specific way within a given SDK version, but may change in its behavior or arguments in future SDK versions, causing odd application behavior or compiler/API usage errors. Implementation stability is implied to be more reliable at higher levels, but all are tested to the level that is appropriate for their stability.

    Couchbase uses three interface stability classifiers. You may find these classifiers appended as annotations or comments within documentation for each API:

    • Committed: This stability level is used to indicate the most stable interfaces that are guaranteed to be supported and remain stable between SDK versions.

    • Uncommitted: This level is used to indicate APIs that are unlikely to change, but may still change as final consensus on their behavior has not yet been reached. Uncommitted APIs usually end up becoming stable APIs.

    • Volatile: This level is used to indicate experimental APIs that are still in flux and may likely be changed. It may also be used to indicate inherently private APIs that may be exposed, but "YMMV" (your mileage may vary) principles apply. Volatile APIs typically end up being promoted to Uncommitted after undergoing some modifications.

    • Internal: This level is used to indicate you should not rely on this API as it is not intended for use outside the module, even to other Couchbase components.

    APIs that are marked as Committed have a stable implementation. Uncommitted and Volatile APIs should be stable within the bounds of any known and often documented issues, but Couchbase has not made a commitment to these APIs and may not respond to reported defects with the same priority.