Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/polevaultweb/laravel-spark-helpscout
Help Scout Dynamic App support for Laravel Spark
https://github.com/polevaultweb/laravel-spark-helpscout
Last synced: about 1 month ago
JSON representation
Help Scout Dynamic App support for Laravel Spark
- Host: GitHub
- URL: https://github.com/polevaultweb/laravel-spark-helpscout
- Owner: polevaultweb
- License: mit
- Created: 2016-04-19T15:42:43.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-06T16:13:15.000Z (almost 8 years ago)
- Last Synced: 2024-08-16T17:32:58.474Z (3 months ago)
- Language: PHP
- Homepage:
- Size: 9.77 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## 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](https://secure.helpscout.net/apps/custom/)
1. 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 |