-
-
Notifications
You must be signed in to change notification settings - Fork 366
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document how to use the Sentry integration with PSR-15
- Loading branch information
Showing
2 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ Check out the documentation below for screenshots and more details. | |
|
||
## Installation | ||
|
||
Before getting started, make sure you have set up Sentry in your application ([documentation for PHP](https://docs.sentry.io/platforms/php/), [for Laravel](https://docs.sentry.io/platforms/php/guides/laravel/) or [for Symfony](https://docs.sentry.io/platforms/php/symfony/)). | ||
Before getting started, make sure you have set up Sentry in your application ([documentation for PHP](https://docs.sentry.io/platforms/php/), [for Laravel](https://docs.sentry.io/platforms/php/guides/laravel/) or [for Symfony](https://docs.sentry.io/platforms/php/symfony/)). The Bref integration will add features on top of the Sentry SDK. | ||
|
||
When configuring Sentry, you can set the Sentry "DSN" in a `.env` file (if you framework supports it) or in an environment variable in `serverless.yml`. | ||
|
||
|
@@ -81,6 +81,8 @@ return [ | |
]; | ||
``` | ||
|
||
If you don't use Laravel or Symfony, the package provides a PSR-15 middleware you can add to your application. Add the `Bref\Sentry\Psr15\BrefSentryMiddleware` middleware to your middleware stack. | ||
|
||
### Troubleshooting | ||
|
||
Send me a Slack message or an email ([email protected]) if you have any trouble, I can help you set it up! | ||
|