Skip to content

netcccyun/toolbox

Repository files navigation

🎉 What's this?

这是一款在线工具箱程序,您可以通过安装扩展增强她的功能
通过插件模板的功能,您也可以把她当做网页导航来使用~

😺 演示地址

🎑 说明

严禁用于非法用途

🎊 环境要求

  • PHP >= 7.4
  • MySQL >= 5.6
  • fileinfo扩展
  • 使用Redis缓存需安装Redis扩展

🚠 部署

  • Release页面下载源代码

  • 设置运行目录(绑定目录)为public

  • 设置伪静态

  • 如果是下载的Source code包,还需Composer安装依赖(Release页面下载的安装包不需要)

    • 配置阿里镜像源(国内服务器可选)
    composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
    
    • 升级compose
    composer self-update
    
    • 安装依赖
    composer install --no-dev
    
  • 打开网站会自动跳转到安装页面,根据界面提示完成安装。

  • 更新方法:下载源码后直接上传覆盖即可

🍰 伪静态

  • Nginx
location / {
	if (!-e $request_filename){
		rewrite  ^(.*)$  /index.php?s=$1  last;   break;
	}
}
  • Apache
<IfModule mod_rewrite.c>
  Options +FollowSymlinks -Multiviews
  RewriteEngine On

  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
</IfModule>

🍓 鸣谢

  • aoaostar
  • vue
  • thinkphp
  • layui
  • layuimini
  • DashLite