PHPackages                             processus/ruhebett - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. processus/ruhebett

ActiveLibrary[HTTP &amp; Networking](/categories/http)

processus/ruhebett
==================

Talking with Couchbase

0371PHP

Since Jan 8Pushed 13y ago12 watchersCompare

[ Source](https://github.com/Crowdpark/processus-ruhebett)[ Packagist](https://packagist.org/packages/processus/ruhebett)[ RSS](/packages/processus-ruhebett/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

processus-ruhebett
==================

[](#processus-ruhebett)

german -&gt; ruhebett = chillout bed;

[Couchbase](http://www.couchbase.com) client which use [Couchbase SDK](http://www.couchbase.com/develop/php/next) or / and [Memcached](http://php.net/manual/en/book.memcached.php).

\###Requirements

Couchbase Server: [Download](www.couchbase.com/downloads-all)
libcouchbase: [Download](http://www.couchbase.com/develop/c/next)
CouchbasSDK: [Download](http://www.couchbase.com/develop/php/next)

\###API

All clients use the same **Interface** so you can chage the client without any problems.

```
interface NoSQLInterface
{

    /**
     * @param  $host
     * @return NoSQLInterface
     */
    public function setHost($host);

    /**
     * @return mixed
     */
    public function getHost();

    /**
     * @param  $port
     * @return NoSQLInterface
     */
    public function setPort($port);

    /**
     * @return mixed
     */
    public function getPort();

    /**
     * @param  $key
     * @return mixed
     */
    public function fetch($key);

    /**
     * @param array $list
     * @return mixed
     */
    public function fetchAll(array $list);

    /**
     * @param string $key
     * @param array $value
     * @param int $expired
     * @return mixed
     */
    public function insert($key, $value, $expired = 1);

    /**
     * @param string $key
     * @param array $value
     * @param int $expired
     * @return mixed
     */
    public function update($key, array $value, $expired = 1);

    /**
     * Flush the whole database
     * @return mixed
     */
    public function flushAll();

    /**
     * Delete a value
     * @param string $key
     * @return mixed
     */
    public function delete($key);

    /**
     * @param $key
     * @param $value
     * @return NoSQLInterface
     */
    public function setOption($key, $value);

    /**
     * Initialised the client after setting the host / port / credentials
     * @return NoSQLInterface
     */
    public function initClient();
}

?>
```

\###Examples

[couchbasesdk](https://github.com/Crowdpark/processus-ruhebett/blob/master/examples/couchbaseSdk.php)
[memcachedRaw](https://github.com/Crowdpark/processus-ruhebett/blob/master/examples/memcachedRaw.php)
[memcachedJson](https://github.com/Crowdpark/processus-ruhebett/blob/master/examples/memcachedJson.php)
[benchmark](https://github.com/Crowdpark/processus-ruhebett/blob/master/examples/benchmark.php)

\###ToDo

- writing test

\###License

Copyright (c) 2012 [Francis Varga](http://varga-multimedia.com)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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/58ccd50887a261599a520910148928b9dce83c9ca55f0d5a02ce6f6195635db4?d=identicon)[FrancisVarga](/maintainers/FrancisVarga)

### Embed Badge

![Health badge](/badges/processus-ruhebett/health.svg)

```
[![Health](https://phpackages.com/badges/processus-ruhebett/health.svg)](https://phpackages.com/packages/processus-ruhebett)
```

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78026.4M414](/packages/react-http)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48347.0M384](/packages/php-http-curl-client)[smi2/phpclickhouse

PHP ClickHouse Client

84310.1M71](/packages/smi2-phpclickhouse)

PHPackages © 2026

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