Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/platforms/php/guides/laravel/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@ Performance data is transmitted using a new event type called "transactions", wh

## Local Development and Testing

When Sentry is installed in your application, it will also be active when you are developing or running tests.
When Sentry is installed in your application, it will also be active when you are developing or running tests. Because PHP is single-threaded, Sentry will send events synchronously, which can slow down your application or test suite.

You most likely don't want errors to be sent to Sentry when you are developing or running tests. To avoid this, set the DSN value to `null` to disable sending errors to Sentry.
You most likely don't want errors to be sent to Sentry when you are developing or running tests so they don't use up [quota](/pricing/quotas/). To avoid this, set the DSN value to `null` to disable sending any events, check-ins, profiles or transactions to Sentry.

You can also do this by not defining `SENTRY_LARAVEL_DSN` in your `.env` or by defining it as `SENTRY_LARAVEL_DSN=null`.

If you do leave Sentry enabled when developing or running tests, it's possible for it to have a negative effect on the performance of your application or test suite.
If you want to use Sentry in your local development environment, you can use [Spotlight](https://spotlightjs.com/) which runs locally on your machine.

## Set up Sentry through Forge

Expand Down
6 changes: 2 additions & 4 deletions docs/platforms/php/guides/laravel/other-versions/laravel5.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,10 @@ Visiting this route will trigger an exception that will be captured by Sentry.

## Local Development and Testing

When Sentry is installed in your application, it will also be active when you are developing or running tests.
When Sentry is installed in your application, it will also be active when you are developing or running tests. Because PHP is single-threaded, Sentry will send events synchronously, which can slow down your application or test suite.

You most likely don't want errors to be sent to Sentry when you are developing or running tests. To avoid this, set the DSN value to `null` to disable sending errors to Sentry.
You most likely don't want errors to be sent to Sentry when you are developing or running tests so they don't use up [quota](/pricing/quotas/). To avoid this, set the DSN value to `null` to disable sending any events, check-ins, profiles or transactions to Sentry.

You can also do this by not defining `SENTRY_LARAVEL_DSN` in your `.env` or by defining it as `SENTRY_LARAVEL_DSN=null`.

If you do leave Sentry enabled when developing or running tests, it's possible for it to have a negative effect on the performance of your application or test suite.

<PageGrid nextPages header="Next Steps" />
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,10 @@ Visiting this route will trigger an exception that will be captured by Sentry.

## Local Development and Testing

When Sentry is installed in your application, it will also be active when you are developing or running tests.
When Sentry is installed in your application, it will also be active when you are developing or running tests. Because PHP is single-threaded, Sentry will send events synchronously, which can slow down your application or test suite.

You most likely don't want errors to be sent to Sentry when you are developing or running tests. To avoid this, set the DSN value to `null` to disable sending errors to Sentry.
You most likely don't want errors to be sent to Sentry when you are developing or running tests so they don't use up [quota](/pricing/quotas/). To avoid this, set the DSN value to `null` to disable sending any events, check-ins, profiles or transactions to Sentry.

You can also do this by not defining `SENTRY_LARAVEL_DSN` in your `.env` or by defining it as `SENTRY_LARAVEL_DSN=null`.

If you do leave Sentry enabled when developing or running tests, it's possible for it to have a negative effect on the performance of your application or test suite.

<PageGrid nextPages header="Next Steps" />
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,8 @@ Performance data is transmitted using a new event type called "transactions", wh

## Local Development and Testing

When Sentry is installed in your application, it will also be active when you are developing or running tests.
When Sentry is installed in your application, it will also be active when you are developing or running tests. Because PHP is single-threaded, Sentry will send events synchronously, which can slow down your application or test suite.

You most likely don't want errors to be sent to Sentry when you are developing or running tests. To avoid this, set the DSN value to `null` to disable sending errors to Sentry.
You most likely don't want errors to be sent to Sentry when you are developing or running tests so they don't use up [quota](/pricing/quotas/). To avoid this, set the DSN value to `null` to disable sending any events, check-ins, profiles or transactions to Sentry.

You can also do this by not defining `SENTRY_LARAVEL_DSN` in your `.env` or by defining it as `SENTRY_LARAVEL_DSN=null`.

If you do leave Sentry enabled when developing or running tests, it's possible for it to have a negative effect on the performance of your application or test suite.
6 changes: 2 additions & 4 deletions docs/platforms/php/guides/laravel/other-versions/lumen.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,10 @@ Visiting this route will trigger an exception that will be captured by Sentry.

## Local Development and Testing

When Sentry is installed in your application, it will also be active when you are developing or running tests.
When Sentry is installed in your application, it will also be active when you are developing or running tests. Because PHP is single-threaded, Sentry will send events synchronously, which can slow down your application or test suite.

You most likely don't want errors to be sent to Sentry when you are developing or running tests. To avoid this, set the DSN value to `null` to disable sending errors to Sentry.
You most likely don't want errors to be sent to Sentry when you are developing or running tests so they don't use up [quota](/pricing/quotas/). To avoid this, set the DSN value to `null` to disable sending any events, check-ins, profiles or transactions to Sentry.

You can also do this by not defining `SENTRY_LARAVEL_DSN` in your `.env` or by defining it as `SENTRY_LARAVEL_DSN=null`.

If you do leave Sentry enabled when developing or running tests, it's possible for it to have a negative effect on the performance of your application or test suite.

<PageGrid nextPages header="Next Steps" />
10 changes: 10 additions & 0 deletions docs/platforms/php/guides/symfony/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,13 @@ class SentryTestController extends AbstractController
```

After you visit the `/_sentry-test` page, you can view and resolve the recorded error by logging into [sentry.io](https://sentry.io) and opening your project. Clicking on the error's title will open a page where you can see detailed information and mark it as resolved.

## Local Development and Testing

When Sentry is installed in your application, it will also be active when you are developing or running tests. Because PHP is single-threaded, Sentry will send events synchronously, which can slow down your application or test suite.

You most likely don't want errors to be sent to Sentry when you are developing or running tests so they don't use up [quota](/pricing/quotas/). To avoid this, set the DSN value to `null` to disable sending any events, check-ins, profiles or transactions to Sentry.

You can also do this by not defining `SENTRY_DSN` in your `.env` or by defining it as `SENTRY_DSN=null`.

If you want to use Sentry in your local development environment, you can use [Spotlight](https://spotlightjs.com/) which runs locally on your machine.
8 changes: 8 additions & 0 deletions docs/platforms/php/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,11 @@ try {
If you're using Laravel's Forge platform to provision and deploy your PHP application, you can create a Sentry organization through [Forge](https://forge.laravel.com/docs/integrations/sentry.html).

![Sentry and Forge](./img/forge-sentry.png)

## Local Development and Testing

When Sentry is installed in your application, it will also be active when you are developing or running tests. Because PHP is single-threaded, Sentry will send events synchronously, which can slow down your application or test suite.

You most likely don't want errors to be sent to Sentry when you are developing or running tests so they don't use up [quota](/pricing/quotas/). To avoid this, set the DSN value to `null` to disable sending any events, check-ins, profiles or transactions to Sentry.

If you want to use Sentry in your local development environment, you can use [Spotlight](https://spotlightjs.com/) which runs locally on your machine.
Loading