定制 zabolots/laravel-chat 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

zabolots/laravel-chat

Composer 安装命令:

composer require zabolots/laravel-chat

包简介

Add online chat with your visitors to Laravel website

README 文档

README

Laravel Chat allows you to add an online chat with visitors of your site. Chat based on JivoSite (default) or SiteHeart.

Install

  1. composer require zabolots/laravel-chat:dev-master

  2. php artisan vendor:publish --provider="Zabolots\LaravelChat\ChatServiceProvider"

  3. Next you must to register on JivoSite by this url: https://goo.gl/yA8aLW and add your site in admin panel here: https://goo.gl/Ezd7Wt

  4. If you have Laravel 5.5 or higher you can skip this step: open config/app.php and add \Zabolots\LaravelChat\ChatServiceProvider::class, to providers array and 'Chat' => \Zabolots\LaravelChat\ChatFacade::class, to aliases array.

Configure

  1. ADD CHAT_PROVIDER=jivosite or CHAT_PROVIDER=siteheart to .env file.
  2. Add CHAT_ID=<your_id> to .env file. For JivoSite you can find in javascript code (look at line with widget_id). For SiteHeart you can find in SiteHeart (Setup -> Widjet -> Code and look at line with widget_id).
  3. Add {!! Chat::render() !!} to your blade template file.

How to switch off chat

You can just add CHAT_SHOW=false to .env file if you want to switch off chat on your site.

统计信息

  • 总下载量: 362
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2018-10-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固