emgag/flysystem-tempdir 问题修复 & 功能扩展

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

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

emgag/flysystem-tempdir

最新稳定版本:v3.0.0

Composer 安装命令:

composer require emgag/flysystem-tempdir

包简介

Flysystem adapter for a self-destroying temporary directory

README 文档

README

build Software License Packagist Version

An adapter for the Flysystem file system abstraction library which creates a temporary directory on local filesystem and which is automatically removed again on object destruct.

Installation

composer require emgag/flysystem-tempdir

Usage

As League\Flysystem\Filesystem wrapper:

use Emgag\Flysystem\Tempdir;
$fs = new Tempdir($prefix = '', $tempdir = null, $destruct = true);
// fully qualified FS path
$fsPath = $fs->getPath();

or as Flysystem Adapter:

use Emgag\Flysystem\TempdirAdapter;
use League\Flysystem\Filesystem;

$adapter = new TempdirAdapter($prefix = '', $tempdir = null, $destruct = true);

$filesystem = new Filesystem($adapter);
// fully qualified FS path
$fsPath = $adapter->getPath();

License

flysystem-tempdir is licensed under the MIT License.

统计信息

  • 总下载量: 83.42k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 10
  • 点击次数: 1
  • 依赖项目数: 5
  • 推荐数: 1

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-05-18