Download the PHP package jc_programs/jc_file_manager without Composer
On this page you can find all versions of the php package jc_programs/jc_file_manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jc_programs/jc_file_manager
More information about jc_programs/jc_file_manager
Files in jc_programs/jc_file_manager
Package jc_file_manager
Short Description JC File Manager Simple Project JC Boster Web Component
License Apache-2.0
Informations about the package jc_file_manager
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 only
Extensions 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"
},