I\'ve tried phpcassa but what about \"Cassandra PHP Client Library\" or \"SimpleCassie\"? Which one would be the best choice?
Check out PHP Binary CQL, which is a CQL client that uses the new binary protocol.
Blog post: http://blog.robert.mcfrazier.com/php-binary-cql/
Github: https://github.com/rmcfrazier/phpbinarycql
Disclosure: I'm the author of this library, please feel free to submit pull requests.
I suggest PHPCassa which has
An active support group http://groups.google.com/group/phpcassa
Nice tutorial on API and Examples @ http://thobbs.github.com/phpcassa/.
Provides PHP extension for Thrift Library.
Supports all operations as mentioned in Cassandra Wikki
Support for composite types has been added [from version 1.0.a.1]
Support for cassandra version 1.0 & 1.1 and thrift version 0.8 is added
Download Link https://github.com/thobbs/phpcassa
(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
In my project I use Pandra : https://github.com/mjpearson/Pandra/wiki and it works fine.