MIT License

项目介绍

getsentry/sentry-php 是一个托管在 GitHub 上的开源项目,主要使用 PHP 编写,采用 MIT License 许可证,目前获得 1.9k 个 Star、481 次 Fork。

仓库全名
getsentry/sentry-php
开源许可证
MIT License
Star 数
1.9k
Fork 数
481
未关闭 Issue
13

README 摘要

Bad software is everywhere, and we're tired of it. Sentry is on a mission to help developers write better software faster, so we can get back to enjoying technology. If you want to join us Check out our open positions Official Sentry SDK for PHP The Sentry PHP error reporter tracks errors and exceptions that happen during the execution of your application and provides instant notification with detailed information…

完整内容见 GitHub 原始 README 或本页 。

常见问题

sentry-php 用什么语言开发?

主要使用 PHP 编写,采用 MIT License 许可证,目前有 1.9k 个 Star。

sentry-php 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 sentry-php 的源码?

可以直接克隆仓库:git clone https://github.com/getsentry/sentry-php.git,默认分支为 master;安装与运行步骤见仓库 README。

sentry-php 最近还在维护吗?

仓库最近一次更新为 23 小时前,当前有 13 个未关闭 Issue;Star 数为 1.9k,可作为社区活跃度的参考。

README

Bad software is everywhere, and we’re tired of it. Sentry is on a mission to help developers write better software faster, so we can get back to enjoying technology. If you want to join us Check out our open positions

Official Sentry SDK for PHP

CI Coverage Status Latest Stable Version License Total Downloads Monthly Downloads Discord

The Sentry PHP error reporter tracks errors and exceptions that happen during the execution of your application and provides instant notification with detailed information needed to prioritize, identify, reproduce and fix each issue.

Getting started

Install

Install the SDK using Composer.

composer require sentry/sentry

Configuration

Initialize the SDK as early as possible in your application.

\Sentry\init(['dsn' => '___PUBLIC_DSN___' ]);

Usage

try {
    thisFunctionThrows(); // -> throw new \Exception('foo bar');
} catch (\Exception $exception) {
    \Sentry\captureException($exception);
}

Official integrations

The following integrations are fully supported and maintained by the Sentry team.

3rd party integrations using SDK 4.x

The following integrations are available and maintained by members of the Sentry community.

3rd party integrations using the old SDK 3.x

3rd party integrations using the old SDK 2.x

3rd party integrations using the old SDK 1.x

Community

Contributing to the SDK

Please make sure to read the CONTRIBUTING.md before making a pull request.

Thanks to everyone who has contributed to this project so far.

Getting help/support

If you need help setting up or configuring the PHP SDK (or anything else in the Sentry universe) please head over to the Sentry Community on Discord. There is a ton of great people in our Discord community ready to help you!

Resources

  • Documentation
  • Discord
  • Stack Overflow
  • X Follow

License

Licensed under the MIT license, see LICENSE

评论

暂无评论