Skip to content

pythagor/yii2-dynamodbsession

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yii2-dynamodbsession

The yii2-dynamodbsession extension is a Yii2 component for store sessions in the Amazon AWS DynamoDB storage.

Installation

The preferred way to install this extension is through composer.

Configuration

Add session component into your components config.

Example

'components' => [
    // ...
    'session' => [
        'class' => 'pythagor\dynamodbsession\DynamoDbSession',
        'sessionTable' => 'YourTableName',
        'idColumn' => 'id',
        'dataColumn' => 'data',
        'expireColumn' => 'expire',
        'params' => [
            'key' => 'YOUR_AWS_ACCESS_KEY_ID',
            'secret' => 'YOUR_AWS_SECRET_ACCESS_KEY',
            'region' => 'us-west-2',
        ],
    ],
],

License

yii2-dynamodbsession is released under the BSD 3-Clause License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published