ajaximple/httprequest
最新稳定版本:v3.1.1
Composer 安装命令:
composer require ajaximple/httprequest
包简介
Nette Http Request extensions from AJAXimple.
README 文档
README
This extension extends Nette\Http\Request for new methods for work with API.
Added methods
Get PUT
public function getPut($key = null, $default = null)
Returns data same way, like getPost method from Nette\Http\Request.
Instalation
Download
The best way to install AJAXimple/HTTPRequest is using Composer:
$ composer require ajaximple/httprequest
Registering
You can enable the extension using your neon config:
services:
http.requestFactory: AJAXimple\Http\RequestFactory
Injecting
You can simply inject request in Your Presenters/Services:
public function __construct(AJAXimple\Http\Request $request)
{
parent::__construct();
....
}
Conclusion
This extension requires Nette3.1 and it is property of Antonín Jehlář © 2020-today
统计信息
- 总下载量: 98
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2020-02-18