Skip to content

Commit 53b201c

Browse files
authored
Remove advertisement of abandoned package (#709)
1 parent 5e4c4c4 commit 53b201c

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

README.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This is the official Symfony SDK for [Sentry](https://getsentry.com/).
2323
Using this `sentry-symfony` SDK provides you with the following benefits:
2424

2525
* Quickly integrate and configure Sentry for your Symfony app
26-
* Out of the box, each event will contain the following data by default
26+
* Out of the box, each event will contain the following data by default
2727
- The currently authenticated user
2828
- The Symfony environment
2929

@@ -92,7 +92,7 @@ Keep in mind that by leaving the `dsn` value empty (or undeclared), you will dis
9292
```yaml
9393
sentry:
9494
dsn: "https://public:[email protected]/1"
95-
messenger:
95+
messenger:
9696
enabled: true # flushes Sentry messages at the end of each message handling
9797
capture_soft_fails: true # captures exceptions marked for retry too
9898
options:
@@ -106,38 +106,35 @@ the [PHP specific](https://docs.sentry.io/platforms/php/#php-specific-options) o
106106

107107
#### Optional: use custom HTTP factory/transport
108108

109-
Since the SDK 2.0 uses HTTPlug to remain transport-agnostic, you need to install two packages that provide
109+
Since the SDK 2.0 uses HTTPlug to remain transport-agnostic, you need to install two packages that provide
110110
[`php-http/async-client-implementation`](https://packagist.org/providers/php-http/async-client-implementation)
111111
and [`psr/http-message-implementation`](https://packagist.org/providers/psr/http-message-implementation).
112112

113113
This bundle depends on `sentry/sdk`, which is a metapackage that already solves this need, requiring our suggested HTTP
114-
packages: the Curl client and Guzzle's message factories.
114+
packages: the Symfony HTTP client (`symfony/http-client`) and Guzzle's message factories (`http-interop/http-factory-guzzle`).
115+
116+
If you want to use a different HTTP client or message factory, you can override the `sentry/sdk` package by adding the following to your `composer.json` after the `require` section:
115117

116-
Instead, if you want to use a different HTTP client or message factory, you can override the ``sentry/sdk`` package by adding the following to your ``composer.json`` after the ``require`` section:
117118
```json
118119
"replace": {
119120
"sentry/sdk": "*"
120121
}
121122
```
122123

123-
For example for using Guzzle's components:
124+
For example when you want to use Guzzle's components:
124125

125126
```bash
126127
composer require php-http/guzzle6-adapter guzzlehttp/psr7
127128
```
128129

129-
A possible alternate solution is using `pugx/sentry-sdk`, a metapackage that replaces `sentry/sdk` and uses `symfony/http-client` instead of `guzzlehttp/guzzle`:
130-
131-
```bash
132-
composer require pugx/sentry-sdk
133-
```
130+
If you don't have a compatible HTTP client and/or message factory implementation installed `php-http/discovery` will try to install it for you using a Composer plugin.
134131

135132
## Maintained versions
136133

137134
* 4.x is actively maintained and developed on the master branch, and uses Sentry SDK 3.0;
138135
* 3.x is supported only for fixes and uses Sentry SDK 2.0;
139136
* 2.x is no longer maintained; from this version onwards it requires Symfony 3+ and PHP 7.1+;
140-
* 1.x is no longer maintained; you can use it for Symfony < 2.8 and PHP 5.6/7.0;
137+
* 1.x is no longer maintained; you can use it for Symfony < 2.8 and PHP 5.6/7.0;
141138
* 0.8.x is no longer maintained.
142139

143140
### Upgrading to 4.0

0 commit comments

Comments
 (0)