提供对数据流简单抽象的接口

3.0.0 2014-10-12 19:18 UTC

This package is auto-updated.

Last update: 2024-09-28 14:17:23 UTC


README

提供对数据流简单抽象的接口。

此库在 Guzzle 5 中使用,并且(目前)与 WIP PSR-7 兼容。

安装

此包可以使用 Composer 轻松安装。只需将以下内容添加到项目根目录下的 composer.json 文件中

{
  "require": {
    "guzzlehttp/streams": "~3.0"
  }
}

然后使用 composer.phar install 安装您的依赖项。

文档

此包的文档可以在 Guzzle 主网站上找到,网址为 http://docs.guzzlephp.org/en/guzzle4/streams.html

测试

此库使用 PHPUnit 进行测试。您需要使用 Composer 安装依赖项,然后运行 make test