Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pgaultier/sweelix-yii2-riak

Riak adapter for Yii2
https://github.com/pgaultier/sweelix-yii2-riak

Last synced: 5 days ago
JSON representation

Riak adapter for Yii2

Awesome Lists containing this project

README

        

Sweelix Yii2 Riak Extension
===========================

This extension provides the [Riak 1.4+](http://basho.com/) integration for the Yii2 framework.

Riak is not affiliated with Sweelix.

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

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

Either run

```
php composer.phar require --prefer-dist sweelix/yii2-nosql "*"
```

or add

```
"sweelix/yii2-nosql": "*"
```

to the require section of your composer.json.

General Usage
-------------

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

```php
return [
//....
'components' => [
'riak' => [
'class' => 'sweelix\yii2\nosql\riak\Connection',
'dsn' => 'riak:dsn=http://localhost:8098',
],
],
];
```

Contributing
------------

All code contributions - including those of people having commit access -
must go through a pull request and approved by a core developer before being
merged. This is to ensure proper review of all the code.

Fork the project, create a [feature branch ](http://nvie.com/posts/a-successful-git-branching-model/), and send us a pull request.