13/06
2014
dev-master
9999999-dev
The Requires
- php >=5.3.0
- thobbs/phpcassa v1.1.0
- illuminate/support 4.2.*
by KalpeshPatel
Wallogit.com
2017 © Pedro Peláez
Laravel package for working with cassandra., (*1)
Update your composer.json file to include this package as a dependency, (*2)
"kalpeshhpatel/laravel-cassandra": "dev-master"
Register the Cassandra service provider by adding it to the providers array in the app/config/app.php file., (*3)
Kalpeshhpatel\LaravelCassandra\LaravelCassandraServiceProvider
Copy the config file into your project by running, (*4)
php artisan config:publish kalpeshhpatel/laravel-cassandra
This will generate a config file like this, (*5)
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'
);
**Coming soon., (*6)
This package is basically wrapper of PHPCassa libray in Laravel terms., (*7)