Search code examples
phpcassandracql3

Cassandra cql3 PHP support


I know that there is no official driver to use Cassandra cql3 with PHP yet. I learned about the map, list and set features in cql3 and would really love to use it on my application. Is there anyway to make cql3 queries work in PHP (for example running cql3 queries in Java/C# and return the result to PHP or run the query as shell command using exec() in PHP)?


Solution

  • YACassandraPDO should do the trick. It is afaik the only actively maintained PHP client for cassandra.

    According to the doc, YACassandraPDO supports collection data types.

    Added support for float numbers, decimals Added support for collections (map, set, list)