mikica/zf2-cookie
Composer 安装命令:
composer require mikica/zf2-cookie
包简介
Simple controller plugin for reading and writing cookies
README 文档
README
#Simple controller plugin for reading and writing cookies.
##Installation
composer install mikica/zf2-cookie
You need to register new module. Add in file config/application.config.php:
'modules' => array(
'...',
'ZfCookie'
),
Voila! The module is ready to use.
##Usage
<?php $this->cookie('key'); //Read cookie $this->cookie('key', 'value'); //Write cookie $this->cookie($key, $value, $expires); //Write cookie
统计信息
- 总下载量: 69
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-11-13