PHPackages                             phpfastcache/couchbasev4-extension - 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. [Caching](/categories/caching)
4. /
5. phpfastcache/couchbasev4-extension

ActivePhpfastcache-extension[Caching](/categories/caching)

phpfastcache/couchbasev4-extension
==================================

Phpfastcache Couchbase v4 extension

9.2.3(1y ago)0441MITPHPPHP &gt;=8.0

Since Jan 4Pushed 1y ago3 watchersCompare

[ Source](https://github.com/PHPSocialNetwork/couchbasev4-extension)[ Packagist](https://packagist.org/packages/phpfastcache/couchbasev4-extension)[ Docs](https://github.com/PHPSocialNetwork/couchbasev4-extension)[ Patreon](https://www.patreon.com/geolim4)[ RSS](/packages/phpfastcache-couchbasev4-extension/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (7)Versions (8)Used By (0)

Contributing [![PHP Tests](https://github.com/PHPSocialNetwork/couchbasev4-extension/actions/workflows/php.yml/badge.svg)](https://github.com/PHPSocialNetwork/couchbasev4-extension/actions/workflows/php.yml)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#contributing-)

Merge requests are welcome but will require the tests plus the quality tools to pass:

*(Commands must be run from the repository root)*

### PHPCS, PHPMD, PHPSTAN (Level 6), unit tests:

[](#phpcs-phpmd-phpstan-level-6-unit-tests)

```
composer run-script quality
composer run-script tests

# In case you want to fix the code style automatically:
./vendor/bin/phpcbf lib/ --report=summary
```

Support &amp; Security
----------------------

[](#support--security)

Support for this extension must be posted to the main [Phpfastcache repository](https://github.com/PHPSocialNetwork/phpfastcache/issues).

Composer installation:
----------------------

[](#composer-installation)

```
composer install phpfastcache/couchbasev4-extension
```

#### ⚠️ This extension requires:

[](#️-this-extension-requires)

1️⃣ The PHP `Couchbase` extension 4.x at least

2️⃣ The composer `Couchbase/Couchbase` library 4.x at least

#### ⚠️ This extension optionally requires:

[](#️-this-extension-optionally-requires)

1️⃣ The PHP `Posix` extension is needed use `pcntl_fork()` for process forking.

To fork a php process correctly you will need to tell the Couchbase diver to prepare for the fork.

⚠️ **WARNING** You **must** call the drivers `Phpfastcache\Drivers\Couchbasev4\Driver::prepareToFork()`just before the `pcntl_fork()` call or the child process will lock up and then call `handleNotifyFork()` to avoid further errors.

#### Example

[](#example)

```
try {
    \Phpfastcache\Drivers\Couchbasev4\Driver::prepareToFork();
    $pid = pcntl_fork();
    \Phpfastcache\Drivers\Couchbasev4\Driver::handleNotifyFork();
    if ($pid == -1) {
        // There was a problem with forking the process
    } else if ($pid) {
        // continue parent process operations
    } else {
        // continue child process operations
    }
} catch (PhpfastcacheDriverCheckException) {
    // the driver did not allow you to fork the process
}
```

2️⃣ Also the PHP `Pcntl` if you plan to contribute to this project and run the tests before pushing your Merge Request.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 54.5% 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.

###  Release Activity

Cadence

Every ~54 days

Recently: every ~81 days

Total

7

Last Release

537d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8827eab6b94ffc33a593361980485749ed729a4d3a7bca2c9a9f3bddc7cf68f1?d=identicon)[Geolim4](/maintainers/Geolim4)

![](https://www.gravatar.com/avatar/5b23419c7fdf812c6845c93a1de108d912f204ac2d77cbba7c9789621aa3f1aa?d=identicon)[srjlewis](/maintainers/srjlewis)

---

Top Contributors

[![srjlewis](https://avatars.githubusercontent.com/u/56001?v=4)](https://github.com/srjlewis "srjlewis (42 commits)")[![Geolim4](https://avatars.githubusercontent.com/u/1332071?v=4)](https://github.com/Geolim4 "Geolim4 (35 commits)")

---

Tags

cachecouchbasecouchbasev4phpphpfastcachecachecouchbasev4phpfastcachecouchbasev4

###  Code Quality

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/phpfastcache-couchbasev4-extension/health.svg)

```
[![Health](https://phpackages.com/badges/phpfastcache-couchbasev4-extension/health.svg)](https://phpackages.com/packages/phpfastcache-couchbasev4-extension)
```

###  Alternatives

[psr/simple-cache

Common interfaces for simple caching

8.1k727.3M2.1k](/packages/psr-simple-cache)[psr/cache

Common interface for caching libraries

5.2k686.9M1.3k](/packages/psr-cache)[react/cache

Async, Promise-based cache interface for ReactPHP

444112.4M40](/packages/react-cache)[beste/in-memory-cache

A PSR-6 In-Memory cache that can be used as a fallback implementation and/or in tests.

2512.2M6](/packages/beste-in-memory-cache)[ihor/cachalot

Cache a lot in a proper way (APC, XCache, Memcached, Redis, Couchbase)

2528.1k](/packages/ihor-cachalot)[rtcamp/nginx-helper

Cleans nginx's fastcgi/proxy cache or redis-cache whenever a post is edited/published. Also provides cloudflare edge cache purging with Cache-Tags.

23517.0k1](/packages/rtcamp-nginx-helper)

PHPackages © 2026

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