PHPackages                             matrozov/yii2-couchbase - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. matrozov/yii2-couchbase

ActiveYii2-extension

matrozov/yii2-couchbase
=======================

Couchbase extension for the Yii framework with ActiveRecord, QueryBuilder and Migration support.

51.9k5[3 issues](https://github.com/matrozov/yii2-couchbase/issues)[1 PRs](https://github.com/matrozov/yii2-couchbase/pulls)1PHP

Since Mar 29Pushed 6y ago2 watchersCompare

[ Source](https://github.com/matrozov/yii2-couchbase)[ Packagist](https://packagist.org/packages/matrozov/yii2-couchbase)[ RSS](/packages/matrozov-yii2-couchbase/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (2)Used By (1)

Couchbase Extension for Yii2
============================

[](#couchbase-extension-for-yii2)

This extension provides the [Couchbase](https://couchbase.com) integration for the [Yii framework 2.0](http://www.yiiframework.com) with ActiveRecord, QueryBuilder and Migration supports.

For license information check the [LICENSE](LICENSE.md)-file.

Documentation is at [docs/guide-ru/README.md](docs/guide-ru/README.md).

[![Latest Stable Version](https://camo.githubusercontent.com/521bb00c7646b1dc8adeaa030deae7a0be09390cc255cb66bc6d93b6f0c73425/68747470733a2f2f706f7365722e707567782e6f72672f6d6174726f7a6f762f796969322d636f756368626173652f762f737461626c652e706e67)](https://packagist.org/packages/matrozov/yii2-couchbase)[![Total Downloads](https://camo.githubusercontent.com/983ef1474a3fc219336031f3d1ad522ac9facea8ed11006a1b8de54decea3175/68747470733a2f2f706f7365722e707567782e6f72672f6d6174726f7a6f762f796969322d636f756368626173652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/matrozov/yii2-couchbase)[![Build Status](https://camo.githubusercontent.com/99d14d04924d872327e42c5960fb7e3b5aa55ad2bb5e8c017283720160b5f03b/68747470733a2f2f7472617669732d63692e6f72672f6d6174726f7a6f762f796969322d636f756368626173652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/matrozov/yii2-couchbase)[![License](https://camo.githubusercontent.com/f40330fbd2aecce8421ea074317fcda8037a3fd7a250974c7e69e6b06bd57ace/68747470733a2f2f706f7365722e707567782e6f72672f6d6174726f7a6f762f796969322d636f756368626173652f6c6963656e7365)](https://packagist.org/packages/matrozov/yii2-couchbase)

Installation
------------

[](#installation)

This extension requires [Couchbase PHP Extension](https://developer.couchbase.com/documentation/server/current/sdk/php/start-using-sdk.html) version 2.3 or higher.

This extension requires [Couchbase server](https://www.couchbase.com/products/server) version 4.6 or higher.

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist matrozov/yii2-couchbase

```

or add

```
"matrozov/yii2-couchbase": "dev-master"

```

to the require section of your composer.json.

Configuration
-------------

[](#configuration)

To use this extension, simply add the following code in your application configuration:

```
return [
    //....
    'components' => [
        'couchbase' => [
            'class' => '\matrozov\couchbase\Connection',
            'dsn' => 'couchbase://localhost:11210',
            'userName' => 'Administrator',
            'password' => 'Administrator',
        ],
    ],
];
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance8

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4449593?v=4)[Oleg Matrozov](/maintainers/matrozov)[@matrozov](https://github.com/matrozov)

---

Top Contributors

[![matrozov](https://avatars.githubusercontent.com/u/4449593?v=4)](https://github.com/matrozov "matrozov (98 commits)")

---

Tags

couchbasecouchdbyii2yii2-extension

### Embed Badge

![Health badge](/badges/matrozov-yii2-couchbase/health.svg)

```
[![Health](https://phpackages.com/badges/matrozov-yii2-couchbase/health.svg)](https://phpackages.com/packages/matrozov-yii2-couchbase)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
