Provides a SentryService wrapper around the Sentry client.

v1.0.0 2017-12-16 20:08 UTC

This package is auto-updated.

Last update: 2022-11-29 02:35:53 UTC


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 using composer:-

$ composer require linkorb/silex-provider-sentry

Then configure and register the provide:-

// app/app.php
use LinkORB\Sentry\Provider\SentryServiceProvider;
    new SentryServiceProvider,
        'sentry.dsn' => "...",
        'sentry.options' => [