Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (20 sloc) 895 Bytes


A fake couchbase php client for developer working on window environment.

If you want using couchbase, you must install Couchbase Server and a client library (PHP, Java, CSharp..vv).

Since Couchbase php client don't support windows, i developed a fake couchbase class with API similar with Couchbase php client.

Data will store in hard disk instead of memory. (key = file name, value = file content).


This project only use in DEV. and when release your product , you will need no change code.


  1. Download source code & include into your project.
  2. Add code include class only when Couchbase php Client don't exists.

if (!class_exists("Memcached")) { include_once("fakememcached.php"); include_once('filecache.php'); }

Something went wrong with that request. Please try again.