Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pgaultier/sweelix-yii2-riak
Riak adapter for Yii2
https://github.com/pgaultier/sweelix-yii2-riak
Last synced: 9 days ago
JSON representation
Riak adapter for Yii2
- Host: GitHub
- URL: https://github.com/pgaultier/sweelix-yii2-riak
- Owner: pgaultier
- License: other
- Created: 2014-07-16T08:33:26.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-07-16T09:00:08.000Z (over 10 years ago)
- Last Synced: 2024-10-11T20:23:58.355Z (about 1 month ago)
- Language: PHP
- Size: 15 MB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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.