承接 dreamaker/affair 相关项目开发

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

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

dreamaker/affair

Composer 安装命令:

composer require dreamaker/affair

包简介

this works exactly like sessions, it will help you perform save items in session and retrieve them

README 文档

README

GitHub issues license GitHub forks GitHub stars

Table of Contents

Install

To install the Affair

first download via composer by running the command composer require dreamaker\affair if you do not have composer you could just clone this repo

after download

Then include or into your project directory and put this at the top of you class or file use Dreamaker\Affair\Affair;

Documentation

Affair::put($key, $value)

This method is used to save items into the session, but adding a key and value

Affair::get($key)

This method is used to retrieve items from a session

Affair::all()

This returns all session saved

To start a session, all you have to do is instantiate a new affair class

$affair = new Affair; This will start a session

Affair::destroy() This will destroy all session variables in existence

Affair::exists($key) This will return true if the session exists with the $key parameter passed into it otherwise false

License

Affair is free software distributed under the terms of the MIT license.

Contribution guidelines

Please report any issue you find in the issues page.
Pull requests are welcome.

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固