PHP 高性能 Webman 管理系統(tǒng) EasyAdmin8
介紹
EasyAdmin8-webman 在 EasyAdmin 的基礎(chǔ)上使用 webman 最新版重構(gòu),PHP 最低版本要求不低于 8.0?;趙ebman和layui v2.9.x的快速開(kāi)發(fā)的后臺(tái)管理系統(tǒng)。
項(xiàng)目地址:http://easyadmin8.top
演示地址:http://webman.easyadmin8.top/admin
安裝
EasyAdmin8-webman 使用 Composer 來(lái)管理項(xiàng)目依賴。因此,在使用 EasyAdmin8-webman 之前,請(qǐng)確保你的機(jī)器已經(jīng)安裝了 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 ,如果有報(bào)錯(cuò)信息可以使用命令
composer install --ignore-platform-reqs
3.拷貝 .example.env 文件重命名為 .env ,修改數(shù)據(jù)庫(kù)賬號(hào)密碼參數(shù)
cp .example.env .env
4.命令啟動(dòng)
php start.php start
或者守護(hù)進(jìn)程啟動(dòng)
php start.php start -d
詳細(xì)啟動(dòng)配置區(qū)別請(qǐng)點(diǎn)擊:https://www.workerman.net/doc/webman/install.html#2. 運(yùn)行
或者反向代理(以 Nginx 為例,其中8787端口號(hào)可以在 .env 配置中修改)
upstream webman {
server 127.0.0.1:8787;
keepalive 10240;
}
server {
server_name 站點(diǎn)域名;
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;
}
}
}
界面預(yù)覽
圖片
圖片
圖片