denisyukphp/tmpfile
最新稳定版本:3.0.12
Composer 安装命令:
composer require denisyukphp/tmpfile
包简介
Alternative to tmpfile() function.
README 文档
README
Alternative to tmpfile() function.
Installation
You can install the latest version via Composer:
composer require denisyukphp/tmpfile
This package requires PHP 8.0 or later.
Quick usage
A temp file will be removed after PHP finished:
<?php use TmpFile\TmpFile; $tmpFile = new TmpFile(); file_put_contents($tmpFile, 'Meow!'); rename($tmpFile, '/path/to/meow.txt');
Read more about temp file on Habr.
统计信息
- 总下载量: 4.17k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 22
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-01-23