saci/req
Composer 安装命令:
composer require saci/req
包简介
HTTP requests and XPATH queries in a simpler way
关键字:
README 文档
README
saci/req
HTTP requests and XPATH queries in a simpler way
##Install
Including to your current composer.json
Add this line into require in your composer.json:
"saci/req": "*"
and use autoload.php to include the classes
##Example usage
require 'vendor/autoload.php' $req=New \Saci\Req('http://www.google.com'); $req->query("//a[@class='gbgt']");
###Documentation
####Input Parameters
#####method Description: Any HTTP Method: GET, POST, PUT, DELETE
Type: String
Default: GET
#####fields Description: Fields for Post Requests
Type: String or Array
Default: GET
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-11-15