Attempted to load class "CouchbaseCluster" from the global namespace

I have written the following code to initiate Couchbase Cluster in my Symfony project.

// Establish connection
$cluster = new \CouchbaseCluster(‘http://ec2-ip_number.compute-1.amazonaws.com:8091’);
$bucket = $cluster->openBucket(“default”);

It works fine in my localhost.

I have deployed this project now in Amazon Elastic Beanstalk and launched Couchbase server in EC2.

Now when I run this code from web, it shows me the error:

Attempted to load class “CouchbaseCluster” from the global namespace.
Did you forget a “use” statement?

How can I install now couchbase library (libcouchbase.dll) in amazon aws elastic beanstalk to run symfony project properly?