承接 middlewares/aura-session 相关项目开发

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

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

middlewares/aura-session

最新稳定版本:v2.1.0

Composer 安装命令:

composer require middlewares/aura-session

包简介

Middleware to manage sessions using Aura.Session

README 文档

README

Latest Version on Packagist Software License Testing Total Downloads ![SensioLabs Insight][ico-sensiolabs]

Middleware to manage sessions using Aura.Session.

Requirements

Installation

This package is installable and autoloadable via Composer as middlewares/aura-session.

composer require middlewares/aura-session

Example

$dispatcher = new Dispatcher([ new Middlewares\AuraSession(), function ($request) { //get the session object $session = $request->getAttribute('session'); } ]); $response = $dispatcher->dispatch(new ServerRequest());

Options

__construct(Aura\Session\SessionFactory $factory = null)

To use a custom session factory. If it's not passed, it will be created automatically.

name(string $name)

The session name. If it's not defined, the default PHPSESSID will be used.

attribute(string $attribute)

The attribute name used to store the session in the server request. By default is session.

Please see CHANGELOG for more information about recent changes and CONTRIBUTING for contributing details.

The MIT License (MIT). Please see LICENSE for more information.

统计信息

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

GitHub 信息

  • Stars: 5
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固