定制 sabmeua/ci-dynamodb-session-driver 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sabmeua/ci-dynamodb-session-driver

Composer 安装命令:

composer require sabmeua/ci-dynamodb-session-driver

包简介

A DynamoDB session driver for CodeIgniter 3.x

README 文档

README

A DynamoDB session driver for CodeIgniter 3.x

Usage

To use, simply specify to use DynamoDB for session storage in your configuration file.

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.

$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.

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

Installation

Copy the application/libraries/Session/drivers/Session_dynamodb_driver.php and application/config/sess_dynamo.php files into your "applicaion" directory.

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.

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

Requirements

  • aws/aws-sdk-php 3.*

统计信息

  • 总下载量: 7.07k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 2
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-12-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固