cedx/yii2-couchdb CouchDB extension for the Yii Framework.

databaseactive-recordcouchdbnosql

CouchDB for Yii

Runtime Release License Downloads Coverage Build

CouchDB extension for Yii, high-performance PHP framework.

Requirements

The latest PHP and Composer versions. If you plan to play with the sources, you will also need the latest Phing version.

Installing via Composer

From a command prompt, run:

$ composer global require fxp/composer-asset-plugin
$ composer require cedx/yii2-couchdb

Usage

In your application configuration file, you can use the following component:

return [
  'components' => [
    'couchdb' => [
      'class' => 'yii\couchdb\Connection',
      'dsn' => 'couchdb://username:password@localhost:5984'
    ]
  ]
];

See the Guide for a full documentation about its usage.

Unit Tests

In order to run the tests, you must set two environment variables:

$ export COUCHDB_USERNAME="<username>"
$ export COUCHDB_PASSWORD="<password>"

Then, you can run the test script from the command prompt:

$ npm test

See also

License

CouchDB for Yii is distributed under the MIT License.

Changelog

Changelog

This file contains highlights of what changes on each version of the CouchDB for Yii library.

Version 0.2.0

Version 0.1.0

  • Initial release: provides the yii\couchdb\Connection and yii\couchdb\Exception classes.

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



v0.1.0 is the latest of one release



MIT license
Stats
4 github stars & 0 github forks
0 downloads in the last day
1 downloads in the last 30 days
46 total downloads