Skip to content

Commit

Permalink
Document how to use the Sentry integration with PSR-15
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Sep 23, 2024
1 parent 5f7a573 commit e18ccd0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website/src/pages/sentry.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export function Sentry() {
},
{
question: 'What is the refund policy?',
answer: '7-days, full refund, no questions asked.',
answer: '7-days, full refund if the package is not working out for you.',
},
{
question: 'Can I use an unlimited license for all of my client projects?',
Expand Down
4 changes: 3 additions & 1 deletion website/src/pages/sentry/docs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down Expand Up @@ -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!
Expand Down

0 comments on commit e18ccd0

Please sign in to comment.