jc_programs/jc_file_manager
Composer 安装命令:
composer require jc_programs/jc_file_manager
包简介
JC File Manager Simple Project JC Boster Web Component
README 文档
README
jc_file_manager
Simple Project File Manager
git clone
git clone https://github.com/kangjeki/jc_file_manager.git
composer CLI
1/ create composer.json add in your dir target download
manual create composer.json
{
"require" : {
"jc_programs/jc_file_manager": "^1.0"
}
}
create composer.json using window/CLI
echo { "require": {"jc_programs/jc_file_manager": "^1.0"} } > composer.json
2/ after create composer.json, next following command
composer require jc_programs/jc_file_manager
Use
Load Index File
setting
open config.json
"setting" :
{
"path" : "C:/xampp/htdocs",
"content_path" : "default",
"protocol" : "http://",
"host" : "localhost",
"default_file_read" : "txt",
"default_mime_type" : "text",
"text_highlight" : true
},
if you not using xampp apache server, replace default path with your localhost directory
Path Directory Non Host
if you want to load local no host, you can raplace path with your target directory.
example:
"path" : "D:\\",
Note:
local directory non host not suport crud / read onlyExtensions File
default mime type is text
you can add Manualy extension file in config.json
"mimeType" :
{
"type" :
{
"0" : "text",
"1" : "audio",
"2" : "video",
"3" : "image",
"4" : "folder",
"5" : "arcive"
},
"extensions" :
[
["php", "html", "css", "txt", "js", "jcm", "jc", "json", "md", "xls", "sql", "doc"],
["wav", "mp3", "oog"],
["mp4", "avi", "3gp", "webm"],
["jpg", "jpeg", "png"],
["folder"],
["rar", "zip", "apk", "gzip"]
]
}
plugin
this version 0.0.1 update, suport plugin texthighlight
"plugin" : {
"text_highlight" : "JC_DefaultTextHighLight"
},
jc_programs/jc_file_manager 适用场景与选型建议
jc_programs/jc_file_manager 是一款 基于 CSS 开发的 Composer 扩展包,目前已累计 14 次下载、GitHub Stars 达 3, 最近一次更新时间为 2019 年 11 月 02 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 jc_programs/jc_file_manager 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 jc_programs/jc_file_manager 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2019-11-02