PHP 高性能 Webman 管理系統 EasyAdmin8
介紹
EasyAdmin8-webman 在 EasyAdmin 的基礎上使用 webman 最新版重構,PHP 最低版本要求不低于 8.0。基于webman和layui v2.9.x的快速開發的后臺管理系統。
項目地址:http://easyadmin8.top
演示地址:http://webman.easyadmin8.top/admin
安裝
EasyAdmin8-webman 使用 Composer 來管理項目依賴。因此,在使用 EasyAdmin8-webman 之前,請確保你的機器已經安裝了 Composer。
一鍵命令安裝
if [ -f /usr/bin/curl ];then curl -sSO https://easyadmin8.top/auto-install-EasyAdmin8-webman.sh;else wget -O auto-install-EasyAdmin8-webman.sh https://easyadmin8.top/auto-install-EasyAdmin8-webman.sh;fi;bash auto-install-EasyAdmin8-webman.sh
Composer安裝
1.下載安裝包
git clone https://github.com/wolf-leo/EasyAdmin8-webman
或者
git clone https://gitee.com/wolf18/EasyAdmin8-webman
2.安裝依賴包
在根目錄下 composer install ,如果有報錯信息可以使用命令
composer install --ignore-platform-reqs
3.拷貝 .example.env 文件重命名為 .env ,修改數據庫賬號密碼參數
cp .example.env .env
4.命令啟動
php start.php start
或者守護進程啟動
php start.php start -d
詳細啟動配置區別請點擊:https://www.workerman.net/doc/webman/install.html#2. 運行
或者反向代理(以 Nginx 為例,其中8787端口號可以在 .env 配置中修改)
upstream webman {
server 127.0.0.1:8787;
keepalive 10240;
}
server {
server_name 站點域名;
listen 80;
access_log off;
root /your/webman/public;
location ^~ / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_http_version 1.1;
proxy_set_header Connection "";
if (!-f $request_filename){
proxy_pass http://webman;
}
}
}
界面預覽
圖片
圖片
圖片