基于workerman/webman开发的在线客服系统,性能极高,稳定性好。采用websocket即时通讯,非轮询,能够及时收到消息,无延迟,不丢消息。另外客服系统源码接入了AI人工智能大模型,支持自动回复,非常智能。
此客服系统源码是workerman官方出品,品质值得信赖。
点击这里购买客服系统源码
php>=7.2, MySQL>=5.7
以全新linux系统为例,运行如下脚本一键安装PHP+composer环境
curl -sO https://www.workerman.net/install-php-and-composer && sudo bash install-php-and-composer
apt-get install nginx mysql-server
nginx配置类似如下
server {
listen 80;
server_name chat.99kf.com;
root /home/www/99kf/public;
index index.php index.html;
client_max_body_size 20M;
access_log /var/log/nginx/chat.99kf.access.log;
location /api/ {
rewrite ^/api/(.*)$ /kefu/$1 last;
}
location ~ "^/app/[a-zA-Z0-9_-]{16,32}$" {
proxy_pass http://127.0.0.1:3131;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header X-Real-IP $remote_addr;
}
location ^~ / {
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
proxy_http_version 1.1;
proxy_set_header Connection "";
if (!-f $request_filename){
proxy_pass http://webman;
}
}
location ~* \.(eot|ttf|woff)$ {
add_header Access-Control-Allow-Origin *;
}
# 拒绝访问所有以 .php 结尾的文件
location ~ \.php$ {
return 404;
}
# 允许访问 .well-known 目录
location ~ ^/\.well-known/ {
allow all;
}
# 拒绝访问所有以 . 开头的文件或目录
location ~ /\. {
return 404;
}
}
加载依赖
进入源码目录执行composer install
启动客服系统
php start.php start -d
进入安装页面完成安装
大佬的东西,必须前排支持