About Cassandra-PHP-Client-Library (CPCL)

CPCL is a simple to use library for accessing your Cassandra database. It provides an intuitive and easy to learn high-level abstraction layer on top of the thrift interface. CPCL also includes a ActiveRecord-style base class to further simplify most common database operations. Get started

Features

  • simple and intuitive interface
  • well covered with unit tests (> 90%)
  • support for multiple server pools using named singletons
  • requires including a single file
  • uses reasonable defaults through-out
  • powerful syntax for querying data
  • enables managing keyspaces and column-families
  • automatic packing of datatypes using column metadata
  • retries failed queries using back-off strategy
  • built with performance in mind (caches schema description etc)
  • well documented API and a working example

Getting started

Starting with CPCL is easy, just download the library and check out the example that should run out of the box if you've got a cassandra instance running on localhost. You may then want to check out the tutorial, that aims to teach you the core concepts to get up and running quickly. There is also a low-level reference generated from the source code, explaining every method.

Licence

CPCL is free open-source software licenced under the very permissive MIT licence which generally means that you can do pretty much anything you like with it. Click here for the actual text.

Copyright (C) <2012> by <Priit Kallas>

Permission is hlightspeedereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Download Latest version Visit Github project

About the author

My name is Priit Kallas and I’m a Zend Certified Engineer PHP 5.3 working as a software architect.

0.0127