Looking to hire Laravel developers? Try LaraJobs

laravel-cassandra maintained by kalpeshhpatel

Author
Last update
2014/06/13 11:04 (dev-master)
Links
Downloads
62

Comments
comments powered by Disqus

Laravel Cassandra

Laravel package for working with cassandra.

Installation

Update your composer.json file to include this package as a dependency

"kalpeshhpatel/laravel-cassandra": "dev-master"

Register the Cassandra service provider by adding it to the providers array in the app/config/app.php file.

Kalpeshhpatel\LaravelCassandra\LaravelCassandraServiceProvider

Configuration

Copy the config file into your project by running

php artisan config:publish kalpeshhpatel/laravel-cassandra

This will generate a config file like this

return array(
    
    /**
     * Update this with your node IP on which cassandra is running
     */
    'cassandra_node_ip' => '127.0.0.1',
    
    /**
     * Your application keyspace
     */
    'keyspace' => 'MyKeySpace'
);

Usage

**Coming soon.

This package is basically wrapper of PHPCassa libray in Laravel terms.