PHPackages                             jippi/php-cassandra - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. jippi/php-cassandra

AbandonedArchivedLibrary[Database &amp; ORM](/categories/database)

jippi/php-cassandra
===================

Cassandra client library for PHP, which support Protocol v3 and asynchronous request

v0.5.2(11y ago)060MITPHPPHP &gt;=5.4.0

Since Aug 31Pushed 11y agoCompare

[ Source](https://github.com/jippi/php-cassandra)[ Packagist](https://packagist.org/packages/jippi/php-cassandra)[ RSS](/packages/jippi-php-cassandra/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

Cassandra client library for PHP
================================

[](#cassandra-client-library-for-php)

[![](https://camo.githubusercontent.com/2309cbbf19af12759d8c75d44f78a6983610ad66b01c544d6b535d0c9ed54659/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f64756f7368756f2f7068702d63617373616e6472612e706e67)](https://codeclimate.com/github/duoshuo/php-cassandra/)[![](https://camo.githubusercontent.com/b8fae9067cbda8b0a4f1a7a6bd3b406bd4b47ca9c5a257b272887a620ee55dec/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64756f7368756f2f7068702d63617373616e6472612f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/duoshuo/php-cassandra/)[![](https://camo.githubusercontent.com/0fdc75401671fcdc1bce076ab85ec64a29f62db24efb3e53aed191cb97f40a76/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64756f7368756f2f7068702d63617373616e6472612f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/duoshuo/php-cassandra/)

Cassandra client library for PHP, which support Protocol v3 (Cassandra 2.1) and asynchronous request

Features
--------

[](#features)

- Using Protocol v3 (Cassandra 2.1)
- Support asynchronous and synchronous request
- Support for logged, unlogged and counter batches
- The ability to specify the consistency, "serial consistency" and all flags defined in the protocol
- Support Query preparation and execute
- Support all data types conversion and binding, including collection types, tuple and UDT
- Support conditional update/insert
- 5 fetch methods (fetchAll, fetchRow, fetchPairs, fetchCol, fetchOne)
- 800% performance improvement(async mode) than other php cassandra client libraries

Installation
------------

[](#installation)

PHP 5.4+ is required. There is no need for additional libraries.

Append dependency into composer.json

```
	...
	"require": {
		...
		"duoshuo/php-cassandra": "dev-master"
	}
	...

```

Basic Using
-----------

[](#basic-using)

```
