File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
docs/platforms/php/guides/laravel Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -41,23 +41,22 @@ return Application::configure(basePath: dirname(__DIR__))
4141 })
4242 ->withExceptions(function (Exceptions $exceptions) {
4343 Integration::handles($exceptions);
44- })->create();
44+ })
45+ ->create();
4546```
4647
47- Alternatively, you can configure Sentry in your [ Laravel Log Channel] ( usage/#log-channels ) , allowing you to log ` info ` and ` debug ` as well .
48+ Alternatively, you can configure Sentry as a [ Laravel Log Channel] ( usage/#log-channels ) .
4849
4950## Configure
5051
5152Configure the Sentry DSN with this command:
5253
53-
5454``` shell
5555php artisan sentry:publish --dsn=___PUBLIC_DSN___
5656```
5757
5858It creates the config file (` config/sentry.php ` ) and adds the ` DSN ` to your ` .env ` file.
5959
60-
6160``` shell {filename:.env}
6261SENTRY_LARAVEL_DSN=___PUBLIC_DSN___
6362```
You can’t perform that action at this time.
0 commit comments