Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maestroerror/filemanager
Easy to use, chainable PHP fileManager class with all main features
https://github.com/maestroerror/filemanager
Last synced: 21 days ago
JSON representation
Easy to use, chainable PHP fileManager class with all main features
- Host: GitHub
- URL: https://github.com/maestroerror/filemanager
- Owner: MaestroError
- License: mit
- Created: 2021-09-27T14:59:17.000Z (about 3 years ago)
- Default Branch: maestro
- Last Pushed: 2024-08-16T15:31:05.000Z (4 months ago)
- Last Synced: 2024-08-16T17:04:03.887Z (4 months ago)
- Language: PHP
- Size: 41 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fileManager
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 +
- 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