analytics-php

Installation
SKILL.md

Couchbase Analytics — PHP

Version disambiguation: This skill covers Couchbase Server 6.x–7.x (legacy CBAS). If the user mentions Server 8, Couchbase 8, or the columnar engine, route to columnar-analytics instead. If the server version is unknown, ask before proceeding. Analytics runs OLAP queries on a shadow copy of your data, isolated from KV and Query Service workloads. Use it for aggregations, reports, and joins across large datasets.


Setup — Create an Analytics Collection

-- Link the default bucket (once, in the Analytics workbench or cbsh)
CREATE DATAVERSE myapp IF NOT EXISTS;
USE myapp;
CREATE ANALYTICS COLLECTION orders ON `myapp`.`_default`.`orders` IF NOT EXISTS;

Installs
2
First Seen
Jun 18, 2026
analytics-php — couchbaselabs/agent-skills