chigix/io-component 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

chigix/io-component

最新稳定版本:0.1.2

Composer 安装命令:

composer require chigix/io-component

包简介

PHP IO Component

README 文档

README

Latest Stable Version Total Downloads Latest Unstable Version License

IO Component greatly provide some base classes as streams, serialization and the file system for System Input and output.

If you are familiar with java.io in JDK, you might get started to use this component quickly.

In addition this component provides common filesystem features needed to any useage case in stream programming style:

$input = Chigi\Component\IO\StdInputStream::getInstance();
echo $input->readLine();

Besides, you could create your io utils with stream operation supports by extends the Base Stream Classes easily:

class RoboOutputStream extends \Chigi\Component\IO\OutputStream {

    protected function writeString($string) {
        \Robo\Runner::getPrinter()->write($string);
    }

    public function close() {
        
    }

    public function flush() {
        
    }

}

Then the new stream from your self could be used at any FileSystem IO, Network Socket IO script logic directly. Seems exciting right?

This component provides a log of abstract base classes and interfaces like InputStream, OutputStream, EOFException, ...

Resources

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-12-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固