polevaultweb / laravel-spark-helpscout by polevaultweb

Help Scout Dynamic App support Laravel Spark.
2,576
6
2
Package Data
Maintainer Username: polevaultweb
Package Create Date: 2016-04-19
Package Last Update: 2016-12-06
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-04-25 15:16:30
Package Statistics
Total Downloads: 2,576
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 6
Total Watchers: 2
Total Forks: 0
Total Open Issues: 1

Help Scout Dynamic App support for Laravel Spark

Installation

To get this up an running, you'll need to configure a few things in your Laravel Spark project and Help Scout.

Laravel

  • Run composer require polevaultweb/laravel-spark-helpscout dev-master
  • Add Polevaultweb\Laravel\Spark\HelpScout\DynamicAppServiceProvider::class, to your providers array in config/app.php

Add some environment variables to you .env file:

  • HELPSCOUT_APP_TOKEN - This is the random string used when creating the app on Help Scout
  • HELPSCOUT_APP_ENDPOINT_SECRET - This is the secret used in the endpoint callback that Help Scout will access, eg. yourapp.com/helpscout/{secret}

Optional variables:

  • HELSPCOUT_APP_VALIDATE_USER_EXISTS_ONLY - If defined this will just verify the user exists, regardless of Spark plan or plan status.

Help Scout

  1. Visit the Help Scout custom app dashboard
  2. Create an app with the following settings:

| Setting | Value | |-------------- |----------------------------------------------------------------- | | App Name | Your App Name | | Content Type | Dynamic Content | | Callback URL | https://your-site.com/helpscout/HELPSCOUT_APP_ENDPOINT_SECRET | | Secret Key | HELPSCOUT_APP_TOKEN |