egorov / yii2-tarantool
Yii 2 session in Tarantool db
1.0.8
2018-09-06 14:47 UTC
Requires
- php: ^7.0
- egorov/mapper: 4.3.19
- rybakit/msgpack: ^0.3.1
- tarantool/client: ^0.4.1
Requires (Dev)
- fxp/composer-asset-plugin: ^1.4
- phpunit/phpunit: 6.5
- yiisoft/yii2: 2.0.15.1
README
Yii 2 session in Tarantool db
...
components => [
...
'session' => [
// 'class' => CHttpSession::class,
'class' => Tarantool\Session\Session::class,
'sessionSpace'=>'Session',
'server' => "tcp://sid_tarantool:3301",
'socket_timeout' => 5.0,
'connect_timeout' => 5.0,
'tcp_nodelay' => true,
'sessionStorage' => Tarantool\Session\Session::STORAGE_DISC, // or STORAGE_MEMORY
'packer' => Tarantool\Session\Session::PACKER_PURE, // or PACKER_PECL
'username' => 'tarantool',
'password' => 'password'
],
...
]
...