https://github.com/linkorb/silex-provider-sentry
https://github.com/linkorb/silex-provider-sentry
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/linkorb/silex-provider-sentry
- Owner: linkorb
- Created: 2017-12-18T10:40:34.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-18T11:40:44.000Z (over 8 years ago)
- Last Synced: 2025-07-12T04:47:44.294Z (12 months ago)
- Language: PHP
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# linkorb/silex-provider-sentry
Provides a service which wraps Sentry's `Raven_Client`.
Consumers of the service may use the `sendException` method which immediately
sends the exception to the configured instance of Sentry. There is also the
`queueException` method which queues exceptions for later sending after the
`KernelEvents::TERMINATE` event has fired.
## Install
Install using composer:-
$ composer require linkorb/silex-provider-sentry
Then configure and register the provide:-
// app/app.php
use LinkORB\Sentry\Provider\SentryServiceProvider;
...
$app->register(
new SentryServiceProvider,
[
'sentry.dsn' => "...",
'sentry.options' => [
...
],
]
);