定制 growtask/simflex-file-manager 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

growtask/simflex-file-manager

Composer 安装命令:

composer require growtask/simflex-file-manager

包简介

Standalone PHP file manager

README 文档

README

A simple, clean and fast File Manager with mobile UI support.

Requirements

  • PHP 8.0 or higher

Installation:

  1. Execute composer require growtask/simflex-file-manager
  2. Copy the bootstrap.php file to the root of your website
  3. Include assets/css/style.min.css to the head and assets/js/app.min.js to the end of body on your page
  4. Output HTML content from tpl/index.tpl before assets/js/app.min.js is included
  5. Set window.fileManager.assetsDir to assets folder
  6. 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.

统计信息

  • 总下载量: 135
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: CSS

其他信息

  • 授权协议: proprietary
  • 更新时间: 2023-12-21