Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which PHP client library to use with Cassandra?

Tags:

php

cassandra

I've tried phpcassa but what about "Cassandra PHP Client Library" or "SimpleCassie"? Which one would be the best choice?

like image 486
m3rg Avatar asked Dec 06 '11 14:12

m3rg


2 Answers

(Since PHPCassa will no longer be supported and Pandra is abandoned, this question deserves a new answer.)

DataStax PHP Driver for Cassandra is suggested by PHPCassa devs as an alternative that supports CQL, has many excellent features, and is well maintained.

Github and Official website

Update: It now supports PHP 7

Update 2 (2019): It now supports PHP 7.1

like image 171
Paulo Coghi Avatar answered Sep 18 '22 12:09

Paulo Coghi


I suggest PHPCassa which has

  1. An active support group http://groups.google.com/group/phpcassa

  2. Nice tutorial on API and Examples @ http://thobbs.github.com/phpcassa/.

  3. Provides PHP extension for Thrift Library.

  4. Supports all operations as mentioned in Cassandra Wikki

  5. Support for composite types has been added [from version 1.0.a.1]

  6. Support for cassandra version 1.0 & 1.1 and thrift version 0.8 is added

Download Link https://github.com/thobbs/phpcassa

like image 38
Tamil Avatar answered Sep 20 '22 12:09

Tamil