PHPackages                             jtunggit/yurun-http - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. jtunggit/yurun-http

ActiveLibrary

jtunggit/yurun-http
===================

一个基于PHP cURL的开源HTTP类库，支持链式操作，省去繁杂的cURL使用方法。(An open source HTTP class library based on PHP cURL, support chain operations, eliminating the use of miscellaneous cURL methods.)

V1.3.3(8y ago)019MITPHP

Since Jun 4Pushed 8y ago1 watchersCompare

[ Source](https://github.com/jtunggit/YurunHttp)[ Packagist](https://packagist.org/packages/jtunggit/yurun-http)[ RSS](/packages/jtunggit-yurun-http/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (6)Used By (0)

YurunHttp
=========

[](#yurunhttp)

简介
--

[](#简介)

一个基于PHP cURL的开源HTTP类库，支持链式操作，省去繁杂的cURL使用方法。

Composer
--------

[](#composer)

本项目可以使用composer安装，遵循psr-4自动加载规则，在你的 `composer.json` 中加入下面的内容

```
{
    "require": {
        "jtunggit/yurun-http": "dev-master"
    }
}
```

然后执行 `composer install` 安装。

之后你便可以使用 `include "vendor/autoload.php";` 来自动加载类。（ps：不要忘了namespace）

用法
--

[](#用法)

### 链式调用

[](#链式调用)

```
