2017 © Pedro Peláez
 

library silex-sentry-provider

Sentry service provider for the Silex framwork.

image

moriony/silex-sentry-provider

Sentry service provider for the Silex framwork.

  • Saturday, August 20, 2016
  • by moriony
  • Repository
  • 1 Watchers
  • 7 Stars
  • 40,442 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 9 Versions
  • 7 % Grown

The README.md

Silex Sentry Provider

Code Climate Test Coverage Total Downloads Latest Stable Version License, (*1)

Sentry client service provider for the Silex framwork., (*2)

Install via composer

Add in your composer.json the require entry for this library., (*3)

{
    "require": {
        "moriony/silex-sentry-provider": "~2.0.0"
    }
}

and run composer install (or update) to download all files., (*4)

If you don't need development libraries, use composer install --no-dev or composer update --no-dev, (*5)

Usage

Service registration

$app->register(new Moriony\Silex\Provider\SentryServiceProvider, array(
    'sentry.options' => array(
        'dsn' => 'http://public:secret@example.com/1',
        // ... and other sentry options
    )
));

Here you can find other sentry options., (*6)

Exception capturing

$app->error(function (\Exception $e, $code) use($app) {
    // ...
    $client = $app['sentry'];
    $client->captureException($e);
    // ...
});

Error handler registration

Yoc can install error handlers and shutdown function to catch fatal errors, (*7)

// ...
$errorHandler = $app['sentry.error_handler'];
$errorHandler->registerExceptionHandler();
$errorHandler->registerErrorHandler();
$errorHandler->registerShutdownFunction();
// ...

Resources

The Versions

20/08 2016

1.0.x-dev

1.0.9999999.9999999-dev https://github.com/moriony/silex-sentry-provider

Sentry service provider for the Silex framwork.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vitaliy Chesnokov

silex sentry raven-php

20/08 2016

1.0.5

1.0.5.0 https://github.com/moriony/silex-sentry-provider

Sentry service provider for the Silex framwork.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vitaliy Chesnokov

silex sentry raven-php

20/08 2016

dev-master

9999999-dev https://github.com/moriony/silex-sentry-provider

Sentry service provider for the Silex framwork.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vitaliy Chesnokov

silex sentry raven-php

20/08 2016

2.0.0

2.0.0.0 https://github.com/moriony/silex-sentry-provider

Sentry service provider for the Silex framwork.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vitaliy Chesnokov

silex sentry raven-php

27/03 2014

1.0.4

1.0.4.0 https://github.com/moriony/silex-sentry-provider

Sentry service provider for the Silex framwork.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vitaliy Chesnokov

silex sentry raven-php

27/03 2014

1.0.3

1.0.3.0 https://github.com/moriony/silex-sentry-provider

Sentry service provider for the Silex framwork.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vitaliy Chesnokov

silex sentry raven-php

09/03 2014

1.0.2

1.0.2.0 https://github.com/moriony/silex-sentry-provider

Sentry service provider for the Silex framwork.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vitaliy Chesnokov

silex sentry raven-php

26/08 2013

1.0.1

1.0.1.0 https://github.com/moriony/silex-sentry-provider

Sentry service provider for the Silex framwork.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vitaliy Chesnokov

silex sentry raven-php

17/06 2013

1.0.0

1.0.0.0 https://github.com/moriony/silex-sentry-provider

Sentry service provider for the Silex framwork.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vitaliy Chesnokov

silex sentry raven-php