kalpeshhpatel / laravel-cassandra by kalpeshhpatel

62
11
1
Package Data
Maintainer Username: kalpeshhpatel
Maintainer Contact: kalpeshpatel.2289@gmail.com (KalpeshPatel)
Package Create Date: 2014-04-02
Package Last Update: 2015-09-03
Language: PHP
License: Unknown
Last Refreshed: 2024-11-22 03:14:17
Package Statistics
Total Downloads: 62
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 11
Total Watchers: 1
Total Forks: 5
Total Open Issues: 0

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.