sweelix / yii2-nosql
PHP 5.4+ nosql driver for yii2
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Type:yii2-extension
Requires
- php: >=5.4.0
- ext-curl: *
- sweelix/curl: >=1.1.0
Requires (Dev)
- phpunit/php-invoker: >=1.1
- phpunit/phpunit: 3.7.*
- yiisoft/yii2: dev-master
This package is not auto-updated.
Last update: 2022-04-23 13:23:40 UTC
README
This extension provides the Riak 1.4+ integration for the Yii2 framework.
Riak is not affiliated with Sweelix.
Installation
The preferred way to install this extension is through composer.
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:
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 , and send us a pull request.