growtask / simflex-file-manager
Standalone PHP file manager
Installs: 109
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Language:CSS
pkg:composer/growtask/simflex-file-manager
Requires
- php: >=8.0
This package is auto-updated.
Last update: 2025-10-14 17:52:16 UTC
README
A simple, clean and fast File Manager with mobile UI support.
Requirements
- PHP 8.0 or higher
Installation:
- Execute
composer require growtask/simflex-file-manager - Copy the
bootstrap.phpfile to the root of your website - Include
assets/css/style.min.cssto theheadandassets/js/app.min.jsto the end ofbodyon your page - Output HTML content from
tpl/index.tplbeforeassets/js/app.min.jsis included - Set
window.fileManager.assetsDirtoassetsfolder - Invoke
window.fileManager.init();
Additionally, you can pass a callback (path) to the init function in order to receive the selected path.
Additional configuration
All required parameters are passed to the Manager class constructor:
root- root directory (absolute path)authFn- authentication test function
If your handler file is named differently from bootstrap.php, or located in a different path then change window.fileManager.apiBase to a different location.
Additionally, if you are using custom root directory, set window.fileManager.rootDir appropriately.