Laravel 4.2 和卡桑德拉

Laravel 4.2 and Cassandra

如何将 cassandra 与 laravel 4.2 连接?

我已经从 datastack 安装了 php-driver,我可以在 laravel 框架之外使用它。

需要帮助。

Cassandra Laravel 安装

•   Install DataStax PHP Driver for Apache Cassandra on the server
  See https://github.com/datastax/php-driver
  pecl install cassandra
  This command will add cassandra extension in our php. Check cassandra extension using phpinfo();
  Restart php after installing the extension.


  Common issue:
  

•   Install laravel cassandra eloquent wrapper and query builder
  See https://github.com/cubettech/lacassa
  See http://cubettech.com/laravel-cassandra/

  Add config for database. \config\database.php
  Add new providers in app. \config\app.php => 'Cubettech\Lacassa\CassandraServiceProvider'