PHP code example of creacoon / laravel-dashboard-helpscout-tile
1. Go to this page and download the library: Download creacoon/laravel-dashboard-helpscout-tile library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
creacoon / laravel-dashboard-helpscout-tile example snippets
// in config/dashboard.php
return [
// ...
'tiles' => [
'helpscout' => [
'app_id' => env('HELPSCOUT_APP_ID'),
'app_secret' => env('HELPSCOUT_APP_SECRET'),
'mailboxes' => explode(',', env('HELPSCOUT_MAILBOXES')),
'active_tickets_full_alert' => 10,
'refresh_interval_in_seconds' => 60,
'no_active_tickets_text' => 'There are no tickets!',
]
],
];
protected function schedule(Schedule $schedule)
{
// ...
$schedule->command(FetchDataFromHelpscoutCommand::class)->everyFiveMinutes();
}
php artisan vendor:publish --tag="dashboard-helpscout-tile-views"