Are there any PHP CQL drivers / drivers

Are there any php extensions for cassandra yet like the php_mysql extension, or are there any php wrappers. I saw phpCassa and the like, but it does not have the same flexibility as CQL (plus I heard that it is faster to use CQL, I don’t know why ...)

See CQL !

+4
source share
4 answers

There is a PDO CQL driver that looks exactly what you are looking for.

+4
source

https://wiki.fourkitchens.com/display/PF/Using+Cassandra+with+PHP

Have you read this yet? This seems to give you several options for interacting with Cassandra directly with PHP

Here is an example of code that you could use in PHP. It seems SQL-esque is enough for me:

http://wiki.apache.org/cassandra/ThriftExamples#PHP

+1
source

Check out evseevnn php-cassandra-binary: https://github.com/evseevnn/php-cassandra-binary

It uses the Cassandra binary protocol (without frugality), so it can be installed without any extensions!

+1
source

Hope this helps you too.

http://itsallabtamil.blogspot.com/search/label/cassandra

Part 1 explains how to use PHPCassa to connect to Cassandra and retrieve data through CQL

This is the use of PHPCassa

Regards, Tamil

0
source

Source: https://habr.com/ru/post/1381771/


All Articles