Laravel Query Watcher is a Laravel package that provides configurable application query capturing & monitoring. Installation install the package via composer: composer require YorCreative/Laravel-Query-Watcher
'token' => env('QUERY_WATCH_TOKEN', 'change_me'), // Token used for Authenticating Private Broadcast Channel 'scope' => [ 'time_exceeds_ms' => [ 'enabled' => true, // Do you want to capture everything or only slow queries?
], 'context' => [ 'auth_user' => [ 'enabled' => true, // Do you want to know context of the authenticated user when query is captured?
'discord' => [ 'enabled' => false, // Do you want discord webhook notifications?