PHP code example of vikasrinvi / laravel-bug-watcher

1. Go to this page and download the library: Download vikasrinvi/laravel-bug-watcher 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/ */

    

vikasrinvi / laravel-bug-watcher example snippets


Vikasrinvi\LaravelBugWatcher\LaravelBugWatcherServiceProvider::class,

use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;

use Vikasrinvi\LaravelBugWatcher\ErrorHandler as ExceptionHandler;

'ErrorEmail' => [
      'email' => true,
      'dontEmail' => [],
      'throttle' => true,
      'throttleCacheDriver' => env('CACHE_DRIVER', 'file'),
      'throttleDurationMinutes' => 5,
      'dontThrottle' => [],
      'globalThrottle' => true,
      'globalThrottleLimit' => 20,
      'globalThrottleDurationMinutes' => 30,
      'toEmailAddress' => null,
      'fromEmailAddress' => null,
      'emailSubject' => config('app.name'). " :- Error Occured "
],
 'ClickUp' =>[
     'createTask' => true,
     'token' => env('CLICKUP_ACCESS_TOKEN', null),
     'team_name' => env('CLICKUP_TEAM_NAME', null),
     'folder_name' =>env('CLICKUP_FOlDER_NAME', null),
     'folder_id' => env('CLICKUP_FOlDER_ID', null),
     'list_name' => env('CLICKUP_LIST_NAME', null),
     'list_id' => env('CLICKUP_LIST_ID', null)
 ]
bash
php artisan vendor:publish --provider="Vikasrinvi\LaravelBugWatcher\LaravelBugWatcherServiceProvider" --tag="config"
bash
php artisan vendor:publish --provider="php artisan vendor:publish --provider="Vikasrinvi\LaravelBugWatcher\LaravelBugWatcherServiceProvider" --tag="views"