maestroerror/file-manager
Composer 安装命令:
composer require maestroerror/file-manager
包简介
Easy to use, chainable PHP fileManager class with all main features
README 文档
README
Easy to use, chainable PHP fileManager class with UNIX-like methods
Refactoring plan, structure and features:
- Keeps state of file explorer in object
- Hooks file's read/write/delete by file extension
- Folders as property and via method:
$fileManager->testFolder->open();$fileManager->open("Test folder");
- Main objects: Directory & File
- Directory:
- Name +
- Path +
- Files +
- Directories +
- Tree +
- Size +
- Date +
- File:
- Name +
- Path +
- Content +
- Size +
- Date +
- Directory:
- Entry Class: FileManager
- Current directory
- Folders array (For Safe property access) as trait for this and Directory class
- Main actions (API)
To Do
Needs Release
- Solve todo comments
- Add description comments for each method
- Seo, Examples and Documentation
- Add tests for main methods
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-09-29