定制 pematon/mysql-session-handler 二次开发

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

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

pematon/mysql-session-handler

最新稳定版本:v2.0.0

Composer 安装命令:

composer require pematon/mysql-session-handler

包简介

MySQL session handler for Nette Framework

README 文档

README

Custom PHP session handler for Nette Framework that uses MySQL database for storage.

Requirements

  • PHP 8.1+

Installation

Preferred way to install pematon/mysql-session-handler is by using Composer:

$ composer require pematon/mysql-session-handler:~2.0

Setup

After installation:

  1. Create the table session using SQL in sql/create.sql.

  2. Register an extension in config.neon:

extensions:
    sessionHandler: Pematon\Session\DI\MysqlSessionHandlerExtension
  1. Configure custom table name:
sessionHandler:
    tableName: session

Features

  • For security reasons, Session ID is stored in the database as an MD5 hash.
  • Multi-Master Replication friendly (tested in Master-Master row-based replication setup).

统计信息

  • 总下载量: 153
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 8
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 8
  • Watchers: 2
  • Forks: 11
  • 开发语言: PHP

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固