ijackwu/yii2-ssdb SSDB - Yii SSDB PHP Client

yii2-ssdb

Yii2-ssdb - a Yii 2.0 SSDB extension

Requirements

Yii 2.0 or above

Installation

The preferred way to install this extension is through composer.

php composer.phar require 'ijackwu/yii2-ssdb:dev-master'

Configuration

To use this extension, you have to configure the Connection class in your application configuration:

return [
    //....
    'components' => [
        'ssdb' => [
            'class' => 'ijackwu\ssdb\Connection',
            // or 
            // 'class' => 'ijackwu\ssdb\FastConnection',
            // @see https://github.com/jonnywang/phpssdb
            'host' => 'localhost',
            'port' => 8888,
            // 'password' => 'password',
        ],

        // cache
        'cache' => [
            'class' => 'ijackwu\ssdb\Cache',
        ],

        // session
        'session' => [
           // .....
           'class' => 'ijackwu\ssdb\SsdbSession',
        ],

    ]
];

Links

SSDB

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



0.1 is the latest of one release



MIT license
Stats
5 github stars & 5 github forks
0 downloads in the last day
0 downloads in the last 30 days
127 total downloads