定制 mintware-de/streams 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mintware-de/streams

Composer 安装命令:

composer require mintware-de/streams

包简介

A implementation of the PSR-7 StreamInterface

README 文档

README

Packagist GitHub license Packagist

💾 Streams for PHP

This package provides some implementations of the PSR-7 StreamInterface.

📦 Installation

You can install this package using composer:

$ composer require mintware-de/streams

📄 FileStream

Provides read / write access for files.

use \MintWare\Streams\FileStream;
$stream = new FileStream($filename, $readable = true, $writable = true);

💻 MemoryStream

With this implementation you can read data from and write data to the memory.

use \MintWare\Streams\MemoryStream;
$stream = new MemoryStream($initialData = '');

📥 InputStream

Provides read-only access for the php://input resource. This holds for example the raw HTTP request.

use \MintWare\Streams\InputStream;
$stream = new InputStream();

📤 OutputStream

Provides write-only access for the php://output resource.

use \MintWare\Streams\OutputStream;
$stream = new OutputStream();

🧪 Unit Tests

$ phpunit

⭐️ Rating

Don't forget to hit the ⭐️-Star button if you find this package useful. Thanks 🙂

统计信息

  • 总下载量: 86.56k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 0
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-08-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固