Skip to content
PHP Client for the Bitcask K/V store
PHP Erlang Shell
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


PHPCask is client for the Bitcask K/V Store recently released by Basho

On the PHP side it requires the PHP Erlang Bridge Extension

You have to install the Bitcask libraries

Note that this client is very simple. It's aim is to showcase what can be done with the PHP Erlang Bridge Extension and with Bitcask from PHP.

Running The Tests

Open the Terminal and type:

> cd path/to/phpcask
> erl -sname phpcask

Inside the erlang CLI:

> php_cask:start().

Open another Terminal window and type:

> cd path/to/phpcask/
> php test.php erlang_cookie

You can read the test.php file to see how does it work.

erlang_cookie must be the value of the Erlang Cookie used by the node running Bitcask.


  • Improve error handling
  • Implement the complete Bitcask API
  • Add more test
  • Fork this project and improve it that's you :)
Something went wrong with that request. Please try again.