twistor/flysystem-stream-wrapper 问题修复 & 功能扩展

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

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

twistor/flysystem-stream-wrapper

最新稳定版本:v1.0.9

Composer 安装命令:

composer require twistor/flysystem-stream-wrapper

包简介

Adapts Flysystem filesystems to PHP stream wrappers.

README 文档

README

Author Build Status AppVeyor Coverage Status Software License Packagist Version Total Downloads

Installation

composer require twistor/flysystem-stream-wrapper

Usage

use League\Flysystem\Adapter\Local;
use League\Flysystem\Filesystem;
use Twistor\FlysystemStreamWrapper;

// Get a Filesystem object.
$filesystem = new Filesystem(new Local('/some/path'));

FlysystemStreamWrapper::register('fly', $filesystem);

// Then you can use it like so.
file_put_contents('fly://filename.txt', $content);

mkdir('fly://happy_thoughts');

FlysystemStreamWrapper::unregister('fly');

Notes

This project tries to emulate the behavior of the standard PHP functions, rename(), mkdir(), unlink(), etc., as closely as possible. This includes emitting wanrings. If any differences are discovered, please file an issue.

统计信息

  • 总下载量: 2.68M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 60
  • 点击次数: 0
  • 依赖项目数: 11
  • 推荐数: 5

GitHub 信息

  • Stars: 58
  • Watchers: 2
  • Forks: 19
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固