aedart/athenaeum-http-cookies
Composer 安装命令:
composer require aedart/athenaeum-http-cookies
包简介
Simple DTOs for Http Cookie and Set-Cookie
README 文档
README
Provides very simple DTOs for Http Cookie. These DTOs are nothing more than data placeholders; they do not offer "advanced" capabilities. Feel free to extend them with whatever logic your application might require.
Examples
<?php use Aedart\Http\Cookies\Cookie; $cookie = new Cookie([ 'name' => 'my_cookie', 'value' => 'sweet' ]);
<?php use Aedart\Http\Cookies\SetCookie; $cookie = new SetCookie([ 'name' => 'my_cookie', 'value' => 'sweet', 'maxAge' => 60 * 5, 'secure' => true ]);
Documentation
Please read the official documentation for additional information.
Repository
The mono repository is located at github.com/aedart/athenaeum
Versioning
This package follows Semantic Versioning 2.0.0
License
BSD-3-Clause, Read the LICENSE file included in this package
统计信息
- 总下载量: 86
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2020-03-21