PHPackages                             albertborsos/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. [Framework](/categories/framework)
4. /
5. albertborsos/yii2-couchbase

ActiveYii2-extension[Framework](/categories/framework)

albertborsos/yii2-couchbase
===========================

Couchbase component for Yii 2.0 Framework

1634[1 PRs](https://github.com/albertborsos/yii2-couchbase/pulls)PHP

Since Jul 8Pushed 2y agoCompare

[ Source](https://github.com/albertborsos/yii2-couchbase)[ Packagist](https://packagist.org/packages/albertborsos/yii2-couchbase)[ RSS](/packages/albertborsos-yii2-couchbase/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (4)Used By (0)

[![Build Status](https://camo.githubusercontent.com/5b029ffbaba947819bf729ed4a57249b61204ec7056b7c827aab85930b56be89/68747470733a2f2f7472617669732d63692e6f72672f616c62657274626f72736f732f796969322d636f756368626173652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/albertborsos/yii2-couchbase)[![Coverage Status](https://camo.githubusercontent.com/908516645942cf6cd4c72832d834a4d789317254a3dc4f0b94e042c3b4582a57/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f616c62657274626f72736f732f796969322d636f756368626173652f62616467652e737667)](https://coveralls.io/github/albertborsos/yii2-couchbase)

Yii 2.0 Couchbase Component
===========================

[](#yii-20-couchbase-component)

Couchbase component for Yii 2.0 Framework

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist albertborsos/yii2-couchbase "*"

```

or add

```
"albertborsos/yii2-couchbase": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Create `couchbase.ini`:

```
extension=couchbase.so
; priority=30
```

To install couchbase to docker, add these lines to your `Dockerfile.dev`:

```
#install couchbase extension
RUN curl -O http://packages.couchbase.com/releases/couchbase-release/couchbase-release-1.0-6-amd64.deb
RUN dpkg -i couchbase-release-1.0-6-amd64.deb
RUN apt-get update && \
	    apt-get install -y --no-install-recommends \
	    libcouchbase-dev build-essential php-pear php-dev zlib1g-dev
RUN pecl install couchbase
ADD couchbase.ini /etc/php/7.3/mods-available/couchbase.ini
RUN phpenmod couchbase
```

For development use the following docker-compose image configuration

```
    cb:
        image: couchbase/server
        volumes:
            - ~/couchbase/cb:/opt/couchbase/var
        ports:
            - 8091
            - 11210
```

Then you have to configure the component:

```
return  [
    ...
    'components' => [
        ...
        'couchbase' => [
            'class' => \albertborsos\couchbase\Connection::class,
            'dsn' => 'cb',
            'username' => 'frontend',
            'password' => 'frontend',
            'defaultBucketName' => 'frontend',
            'defaultBucketPassword' => 'frontend',
        ],
        ...
    ],
    ...
];
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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://www.gravatar.com/avatar/f3f22774bd72617f621ad89b1b6d7421f837ea8ff2521e4d472df98744dca7cf?d=identicon)[albertborsos](/maintainers/albertborsos)

---

Top Contributors

[![albertborsos](https://avatars.githubusercontent.com/u/7307145?v=4)](https://github.com/albertborsos "albertborsos (1 commits)")

### Embed Badge

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

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

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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