承接 fly304625/sentry-php 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

fly304625/sentry-php

Composer 安装命令:

composer require fly304625/sentry-php

包简介

Fork of a PHP client for Sentry (http://getsentry.com) that work also with php5.2/php5.6

关键字:

README 文档

README

Build Status Latest Stable Version Total Downloads Latest Unstable Version License Monthly Downloads Daily Downloads

This project is a fork of official PHP SDK v1.7 for Sentry to work even with php5.2, php5.6 This project already have fix for https://github.com/getsentry/sentry-php/pull/615/commits/21e39a6bc4e27591dabe4118d9b996bbc109b3a0

Features

  • Automatically report (un)handled exceptions and errors
  • Send customized diagnostic data
  • Process and sanitize data before sending it over the network

Installation

There are various ways to install the PHP integration for Sentry.

$ git clone https://github.com/fly304625/sentry-php.git
or
$ composer require fly304625/sentry-php

Alternatively you can manually install it:

  1. Download and extract the latest sentry-php archive to your PHP project.
  2. Require the autoloader in your application:
require_once '/path/to/Raven/library/Raven/Autoloader.php';
Raven_Autoloader::register();

Usage

// Instantiate a new client with a compatible DSN and install built-in
// handlers
$sentryClient = new Raven_Client('https://e9ebbd88548a441288393c457ec90441:399aaee02d454e2ca91351f29bdc3a07@app.getsentry.com/3235');
$sentryClient->install();

// Capture an exception
$event_id = $sentryClient->captureException($ex);

// Give the user feedback
echo "Sorry, there was an error!";
echo "Your reference ID is " . $event_id;

For more information, see the documentation.

Integration with frameworks

Other packages exists to integrate this SDK into the most common frameworks.

Community

统计信息

  • 总下载量: 27
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 469
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2020-06-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固