Skip to content

Commit

Permalink
Removed HTTP library dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
DieterHolvoet committed Jul 11, 2019
1 parent 635d53d commit 2ff963e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,16 @@ wmsentry
[![License](https://poser.pugx.org/wieni/wmsentry/license)](https://packagist.org/packages/wieni/wmsentry)

> A module for sending errors to Sentry in Drupal 8.
## Installation
This module uses the Sentry PHP package ([`sentry/sentry`](https://github.com/getsentry/sentry-php)), which is not tied to any specific library that sends HTTP messages. Instead,
it uses [Httplug](https://github.com/php-http/httplug) to let users choose whichever
PSR-7 implementation and HTTP client they want to use.

If you just want to get started quickly you should run the following command:

```bash
composer require wieni/wmsentry php-http/curl-client guzzlehttp/psr7
```
For more information, please refer to the _Install_ section of the [`sentry/sentry-php`](https://github.com/getsentry/sentry-php#install) repository README.

2 changes: 0 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
"require": {
"php": ">=7.2.0",
"drupal/core": "^8",
"guzzlehttp/psr7": "^1.5",
"php-http/curl-client": "^1.7",
"sentry/sentry": "^2.0"
}
}

0 comments on commit 2ff963e

Please sign in to comment.