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
Copy file name to clipboardExpand all lines: docs/platforms/php/index.mdx
+33-7Lines changed: 33 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,14 @@ This Sentry PHP SDK provides support for PHP 7.2 or later. If you are using our
21
21
22
22
## Install
23
23
24
+
<OnboardingOptionButtons
25
+
options={[
26
+
'error-monitoring',
27
+
'performance',
28
+
'profiling',
29
+
]}
30
+
/>
31
+
24
32
Sentry captures data by using an SDK within your application’s runtime. These are platform-specific and allow Sentry to have a deep understanding of how your application works.
25
33
26
34
Install the SDK using [Composer](https://getcomposer.org/).
@@ -29,24 +37,42 @@ Install the SDK using [Composer](https://getcomposer.org/).
29
37
composer require sentry/sentry
30
38
```
31
39
32
-
## Configure
40
+
<OnboardingOptionoptionId="profiling">
41
+
42
+
Install the Excimer extension via PECL:
43
+
44
+
```bash
45
+
pecl install excimer
46
+
```
33
47
34
-
After you’ve completed setting up a project in Sentry, Sentry will give you a value which we call a DSN or Data Source Name. It looks a lot like a standard URL, but it’s just a representation of the configuration required by the Sentry SDKs. It consists of a few pieces, including the protocol, public key, the server address, and the project identifier.
48
+
The Excimer PHP extension supports PHP 7.2 and up. Excimer requires Linux or macOS and doesn't support Windows. For additional ways to install Excimer, [see docs](/platforms/php/profiling/#installation).
49
+
50
+
</OnboardingOption>
51
+
52
+
## Configure
35
53
36
54
To capture all errors, even the one during the startup of your application, you should initialize the Sentry PHP SDK as soon as possible.
0 commit comments