2017 © Pedro Peláez
 

library ci-dynamodb-session-driver

A DynamoDB session driver for CodeIgniter 3.x

image

sabmeua/ci-dynamodb-session-driver

A DynamoDB session driver for CodeIgniter 3.x

  • Wednesday, June 27, 2018
  • by sabmeua
  • Repository
  • 2 Watchers
  • 1 Stars
  • 855 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 1 % Grown

The README.md

ci-dynamodb-session-driver

A DynamoDB session driver for CodeIgniter 3.x, (*1)

Usage

To use, simply specify to use DynamoDB for session storage in your configuration file., (*2)

Open your application/config/config.php and, set "dynamodb" to "sess_diriver" on "Session Variables" section. Also, set the table name that you will use to "sess_save_path". The table you specified is need to create in advance., (*3)

$config['sess_driver'] = 'dynamodb';
$config['sess_save_path'] = 'my_session';

AWS access credentials

If you use EC2 and that instances are already given a IAM instance role, you don't need to config any credentials for this library. Otherwise, you need to set AWS access key and secret to your configuration file., (*4)

Open application/config/sess_dynamo.php and, set appropriate credentials to "sess_dynamo_key" and "sess_dynamo_secret"., (*5)

Installation

Copy the application/libraries/Session/drivers/Session_dynamodb_driver.php and application/config/sess_dynamo.php files into your "applicaion" directory., (*6)

If you install with composer, edit your composer.json and add following packages. After composer install the packages, you need to copy these files as same as above., (*7)

    "sabmeua/ci-dynamodb-session-driver": "*"

Requirements

  • aws/aws-sdk-php 3.*

The Versions

27/06 2018

dev-master

9999999-dev

A DynamoDB session driver for CodeIgniter 3.x

  Sources   Download

MIT

The Requires

 

by Avatar sabmeua

aws codeigniter session dynamodb

05/01 2017

0.2.0

0.2.0.0

A DynamoDB session driver for CodeIgniter 3.x

  Sources   Download

MIT

The Requires

 

by Avatar sabmeua

aws codeigniter session dynamodb

12/12 2016

0.1.0

0.1.0.0

A DynamoDB session driver for CodeIgniter 3.x

  Sources   Download

MIT

The Requires

 

by Avatar sabmeua

aws codeigniter session dynamodb