承接 quioteframework/session-pdo 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

quioteframework/session-pdo

Composer 安装命令:

composer require quioteframework/session-pdo

包简介

PDO-backed session storage for Quiote: a SessionPersistenceInterface implementation for SessionManager, plus a native SessionHandlerInterface implementation for the legacy Storage subsystem.

README 文档

README

PDO-backed session storage for Quiote. Ships two independent implementations against Quiote's two session mechanisms:

  • Quiote\Session\Pdo\PdoSessionPersistence implements Quiote\Session\SessionPersistenceInterface (load/save/delete), the backend for Quiote\Session\SessionManager — the modern, PSR-7-based session mechanism, safe under persistent worker runtimes (FrankenPHP, RoadRunner). Prefer this for new code.
  • Quiote\Storage\Pdo\PdoSessionStorage implements PHP's native SessionHandlerInterface for the legacy Storage/SessionStorage mechanism ($_SESSION/session_start()). Kept for apps already built on that mechanism.

Install

composer require quioteframework/session-pdo

Both expect a table shaped like:

CREATE TABLE session (
    sess_id   VARCHAR(64) PRIMARY KEY,
    sess_data BYTEA/BLOB/TEXT NOT NULL,
    sess_time TIMESTAMP NOT NULL
);

PdoSessionPersistence

$manager = new \Quiote\Session\SessionManager(
    new \Quiote\Session\Pdo\PdoSessionPersistence($pdo, table: 'session'),
);

PdoSessionStorage

Configure via storage.xml/factories with the required db_table parameter (optional: database, db_id_col, db_data_col, db_time_col, data_as_lob, date_format) — see the class docblock for the full list.

License

MIT. See LICENSE.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-07-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固