Search:

Search all manuals
Search this manual
Manual
Couchbase Client Library: PHP 1.0
Community Wiki and Resources
Wiki: PHP Client Library
PHP Client Library
SDK Forum
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Chapters

Couchbase Client Library: PHP 1.0

Copyright © 2010-2013 Couchbase, Inc. Contact copyright@couchbase.com.

For documentation license information, see Documentation License. For all license information, see Licenses.

Abstract

This is the manual for 1.0 of the Couchbase PHP client library, which is compatible with Couchbase Server 1.8. This is a Beta release.

This manual provides a reference to the key features and best practive for using the PHP Couchbase Client Library (PECL memcached). The content constitutes a reference to the core API, not a complete guide to the entire API functionality.

Table 1. Product Compatibility for Couchbase SDK PHP

ProductCompatibleAll Features
Couchbase Server 1.8
Couchbase Server 2.0


External Community Resources. 

Wiki: PHP Client Library
PHP Client Library
SDK Forum

Note.  The following document is still in production, and is not considered complete or exhaustive.

Last document update: 17 May 2013 02:02; Document built: 17 May 2013 02:02.

Documentation Availability and Formats.  This documentation is available for download: HTML Zip, PDF, EPUB . For other documentation from Couchbase, see Couchbase Documentation Library

Contact: editors@couchbase.com or couchbase.com


Table of Contents

1. Getting Started
1.1. Downloading and Installation
1.1.1. Verify the SDK Install
1.2. Accessing Couchbase from PHP
1.3. Conclusion
2. Tutorial
2.1. Prerequisites
2.2. Example Application: WebChat
2.3. Database design
2.4. Workflow
2.5. Project Directory Structure
2.6. Supporting PHP files
3. Migrate to Couchbase
3.1. Migrating from ext/memcached
3.1.1. The Differences
4. PHP Method Summary
5. Connection Operations
6. Storage Operations
7. Retrieve Operations
8. Update Operations
9. Statistic Operations
A. Release Notes
A.1. Release Notes for Couchbase Client Library PHP 1.0.5 GA (13 August 2012)
A.2. Release Notes for Couchbase Client Library PHP 1.0.4 GA (7 June 2012)
A.3. Release Notes for Couchbase Client Library PHP 1.0.3 GA (9 May 2012)
A.4. Release Notes for Couchbase Client Library PHP 1.0.2 GA (20 April 2012)
A.5. Release Notes for Couchbase Client Library PHP 1.0.1 GA (5 March 2012)
A.6. Release Notes for Couchbase Client Library PHP 1.0.0 GA (1 March 2012)

List of Figures

2.1. Figure 1: WebChat workflow
2.2. Figure 2: Login screen
2.3. Figure 3: Logout screen
2.4. Figure 4: Register screen
2.5. Figure 5: Chat screen

List of Tables

1. Product Compatibility for Couchbase SDK PHP
4.1. PHP Client Library Method Summary
5.1. PHP Client Library Connection Methods
6.1. PHP Client Library Store Methods
7.1. PHP Client Library Retrieval Methods
8.1. PHP Client Library Update Methods
9.1. PHP Client Library Statistics Methods