feehi/standard
Composer 安装命令:
composer require feehi/standard
包简介
A library provided by wfee
README 文档
README
A library for php
##Introduction This is a php lib, contains common php tools
##Tools
- Http Request(get and post)
##Install
- Use Composer install(recommended)
1.create composer.json require feehi/standard
eg:
{
"require": {
"feehi/standard" : "*"
}
}
if chinese goes eg:
{
"require": {
"feehi/standard" : "*"
},
"repositories": [
{"type": "composer", "url": "http://packagist.phpcomposer.com"},
{"packagist": false}
]
}
2.run command "composer update"
##Usage
- Http request
<?php
require "vendor/autoload.php";
use Feehi\Http;
$http = new Http();
$res = $http->get("http://blog.feehi.com");
$res = $http->post("http://blog.feehi.com", ['username'=>'xxx','password'=>'yyy']);
var_dump($res);
统计信息
- 总下载量: 568
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-12-30