I have a problem with laravel 5.4
I am using mpociot/couchbase. I am established the couchbase server and module of php couchbase and php/pcs
But I have the following error.
(1/2) ErrorException
Couchbase\Cluster::__construct() expects exactly 1 parameter, 3 given
config/database.php
'couchbase' => [
'driver' => 'couchbase',
'host' => 'localhost',
'port' => '8091',
'bucket' => 'travel-sample',
'username' => '',
'n1ql_hosts' => [
'http://'.env('DB_HOST', 'localhost').':8093'
]
],
Where do I mistake? Thanks