euskadi31/sentry-service-provider

适用于 Silex 2.0 的 Sentry 服务提供程序

v1.0.3 2016-06-13 15:32 UTC

This package is not auto-updated.

Last update: 2024-09-14 17:43:00 UTC


README

Build Status SensioLabs Insight Coveralls HHVM Packagist

安装

euskadi31/sentry-service-provider 添加到您的 composer.json

% php composer.phar require euskadi31/sentry-service-provider:~1.0

使用方法

配置

<?php

$app = new Silex\Application;

$app->register(new \Euskadi31\Silex\Provider\SentryServiceProvider(), [
    'sentry.options' => [
        'dsn' => 'https://user:pass@app.getsentry.com/46448'
    ]
]);

许可证

SentryServiceProvider 在 MIT 许可证下授权。