2017 © Pedro Peláez
 

library httplib

A http request,php请求类库

image

fps2tao/httplib

A http request,php请求类库

  • Sunday, November 12, 2017
  • by fps2tao
  • Repository
  • 1 Watchers
  • 0 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Httplib

php的网页请求类,非本人所写,只是为了composer依赖。才放出仓库里的, (*1)

Composer.josn

"require": {"fps2tao/httplib": "^1.0"} ---Project

"autoload": {"psr-4": {"Http\Httplib\":"vendor/fps2tao/httplib/src/"}} ---library

其实运行了composer require fps2tao/httplib命令上面的不用配置

Example

$url = "http://www.xx.com";

$http = new \Http\Httplib($url);

$http->send();

$webHtml = $http->response();

echo $webHtml;


...

The Versions

12/11 2017

dev-master

9999999-dev

A http request,php请求类库

  Sources   Download

MIT

The Requires

  • php >=5.2

 

by Avatar fps2tao

12/11 2017

1.0

1.0.0.0

A http request,php请求类库

  Sources   Download

MIT

The Requires

  • php >=5.2

 

by Avatar fps2tao