crispy-computing-machine/hashfilestorage
最新稳定版本:1.0.1
Composer 安装命令:
composer require crispy-computing-machine/hashfilestorage
包简介
PHP Hash File Storage
README 文档
README
Hash table / hash bucket / hash map
Folder file storage limits:.
- Windows FAT32 = 65,534
- Windows NTFS = 4,294,967,295 (unlimited)
- Max files using hash storage: one hundred and thirty-seven billion, four hundred and thirty-eight million, nine hundred and fifty-three thousand, four hundred and forty
Linux (uname -r to find ext):
- ext2/ext3 = 10,000
- ext4 = unlimited
// Test storage of multi files in multi folders
$oStorage = new HashFileStorage();
for($i = 0; $i <= 1000; $i++){
$sTestFilename = uniqid("store_");
$sTestFileText = "This file contains text for file: " . $sTestFilename;
$bSave = $oStorage->file_put_contents($sTestFilename, $sTestFileText);
error_log("Saving HashFileStorage file: " . $sTestFilename . " (" . var_export($bSave, TRUE) . ")");
}
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2022-08-22