定制 mikemartin/helpscout-beacon 二次开发

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

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

mikemartin/helpscout-beacon

最新稳定版本:v1.0.4

Composer 安装命令:

composer require mikemartin/helpscout-beacon

包简介

Make it easy for clients to get help and access their support history.

README 文档

README

Statamic 3.0+

HelpScout Beacon for Statamic

Make it easy for clients to get help and access their support history.

The HelpScout Beacon for Statamic makes it easy for you to provide support to your Statamic clients. Your clients can send messages, view help docs and access their support history securely from their Statamic control panel.

You can additionally have a public-facing Beacon for your authenticated visitors. This beacon is visible whenever a user is authenticated and on your site.

Installation

  1. Require the package using Composer.
composer require mikemartin/helpscout-beacon

Control Panel Beacon

  1. Add your Beacon ID to your .env file. In your HelpScout Beacon Settings, head to the Installation tab and copy the Beacon ID from the web installation code.

    HELPSCOUT_BEACON_ID=your_beacon_id
    
  2. Add your Beacon Secret Key to your .env file. In your HelpScout Beacon Settings, head to the Contact tab and enable the “Support history security” toggle. Your secret key will be revealed. Make sure to Save at the bottom of the page.

    HELPSCOUNT_BEACON_SECRET=your_beacon_secret_key
    

Public Beacon

  1. Set the environment variables HELPSCOUT_PUBLIC_BEACON_ID and HELPSCOUT_PUBLIC_BEACON_SECRET_KEY accordingly.
  2. Use the tag {{ beacon:js }} to instantiate the Beacon on your site. Keep in mind that the document body will need be to be accessible for it to load, hence the tag should be placed near the end of the body.

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-01-17