Couchbase client for Eloquent ORM
All models are inherited from Illuminate\Database\Eloquent\Model so most methods work natively
The preferred way to install this extension is through composer.
Either run
composer require nailfor/couchbase
or add
"nailfor/couchbase" : "*"
to the require section of your application's composer.json
file.
Add config/app.php
'providers' => [
...
nailfor\Couchbase\CouchbaseServiceProvider::class,
and config/database.php
'connections' => [
...
'couchbase' => [ //the name of connection in your models(default)
'driver' => 'couchbase',
'username' => 'username',
'password' => 'password',
],
The GNU License (GNU). Please see License File for more information.