Skip to content

Commit 62f8f33

Browse files
committed
update README.md
1 parent 088510a commit 62f8f33

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ If you use **Lumen**, you need to copy the config file manually and register the
8888
$this->app->register(\BeyondCode\QueryDetector\LumenQueryDetectorServiceProvider::class);
8989
```
9090

91+
If you need additional logic to run when the package detects unoptimized queries, you can listen to the `\BeyondCode\QueryDetector\Events\QueryDetected` event and write a listener to run your own handler. (e.g. send warning to Sentry/Bugsnag, send Slack notification, etc.)
92+
9193
### Testing
9294

9395
``` bash

0 commit comments

Comments
 (0)