You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
README, services.yaml and DefaultController updated to reflect current BugSnag Symfony integration docs. Routes tested and exceptions reported successfully.
Copy file name to clipboardExpand all lines: example/symfony54/README.md
+19-22Lines changed: 19 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,27 +1,27 @@
1
-
# Running Bugsnag with Symfony 5
1
+
# Running BugSnag with Symfony 6
2
2
3
-
This example shows how to integrate Bugsnag with Symfony 5. Full instructions on how to set Bugsnag up with Symfony can be found in [the official Bugsnag documentation](https://docs.bugsnag.com/platforms/php/symfony/).
3
+
This example shows how to integrate BugSnag with Symfony 5. Full instructions on how to set BugSnag up with Symfony can be found in [the official BugSnag documentation](https://docs.bugsnag.com/platforms/php/symfony/).
4
4
5
5
6
6
## Installing dependencies
7
7
8
8
1. Install composer, following the instructions provided in the [composer documentation](http://getcomposer.org/doc/01-basic-usage.md)
9
9
10
-
2. Install bugsnag using composer
10
+
2. Install BugSnag using composer
11
11
12
12
```shell
13
13
composer install
14
14
```
15
15
16
-
## Configuring Bugsnag
16
+
## Configuring BugSnag
17
17
18
-
There are two ways of configuring your Bugsnag client.
18
+
There are two ways of configuring your BugSnag client.
19
19
20
20
1. Set the configuration options in`config/packages/bugsnag.yaml`. These values will automatically be loaded in when the application starts.
21
21
22
22
```yaml
23
23
bugsnag:
24
-
api_key: YOUR_API_KEY_HERE
24
+
api_key: 'YOUR_API_KEY'
25
25
auto_notify: true
26
26
```
27
27
@@ -31,43 +31,40 @@ bugsnag:
31
31
BUGSNAG_API_KEY=YOUR_API_KEY_HERE
32
32
```
33
33
34
-
More information about configuring Bugsnag can be found in [the configuration section of the Bugsnag documentation](https://docs.bugsnag.com/platforms/php/symfony/configuration-options/).
34
+
More information about configuring BugSnag can be found in [the configuration section of the BugSnag documentation](https://docs.bugsnag.com/platforms/php/symfony/configuration-options/).
35
35
36
-
In Symfony 5 the Bugsnag bundle should be automatically registered in the `config/bundles.php` file:
36
+
In Symfony 6 the BugSnag bundle should be automatically registered in the `config/bundles.php` file:
0 commit comments