kalpeshhpatel/laravel-cassandra

There is no license information available for the latest version (dev-master) of this package.

dev-master 2014-06-13 09:04 UTC

This package is not auto-updated.

Last update: 2024-04-22 23:36:33 UTC


README

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.