PHPackages                             sxlxnyw/hyperf-sentry - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. sxlxnyw/hyperf-sentry

ActiveLibrary

sxlxnyw/hyperf-sentry
=====================

V2.2.3(4y ago)039MITPHPPHP &gt;=7.3

Since May 18Pushed 4y agoCompare

[ Source](https://github.com/sxlxnyw/hyperf-sentry)[ Packagist](https://packagist.org/packages/sxlxnyw/hyperf-sentry)[ RSS](/packages/sxlxnyw-hyperf-sentry/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (9)Versions (11)Used By (0)

hyperf sentry
=============

[](#hyperf-sentry)

说明
--

[](#说明)

`sentry/sdk` 中导出都是静态属性，这个些操作在 `swoole` 的携程环境中会出现数据异常，所以涉及到的部分都需要 `rewrite`, 因为 `sentry/sdk` 中的类大部分都是 `final` 的。

版本
--

[](#版本)

主版本和 hyperf 保持一致

versionhyperf version说明0.1.\*1.1.\*-2.0.\*2.0.\*-2.1.\*2.1.\*-使用
--

[](#使用)

1. 配置文件

发布： `php bin/hyperf.php vendor:publish minbaby/hyperf-sentry`

然后在 `.env` 中添加 `SENTRY_DSN=`

2. 注册 `SentryExceptionHandler`

```
return [
    'handler' => [
        'http' => [
            Minbaby\HyperfSentry\SentryExceptionHandler::class,
            App\Exception\Handler\AppExceptionHandler::class,
        ],
    ],
];
```

参考
--

[](#参考)

-
-

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 63.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~57 days

Recently: every ~18 days

Total

9

Last Release

1723d ago

Major Versions

v0.2.0 → v2.0.02020-07-04

PHP version history (2 changes)v0.1.0PHP &gt;=7.2

v2.1.0PHP &gt;=7.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13213919?v=4)[sxlxnyw](/maintainers/sxlxnyw)[@sxlxnyw](https://github.com/sxlxnyw)

---

Top Contributors

[![minbaby](https://avatars.githubusercontent.com/u/3191858?v=4)](https://github.com/minbaby "minbaby (12 commits)")[![sxlxnyw](https://avatars.githubusercontent.com/u/13213919?v=4)](https://github.com/sxlxnyw "sxlxnyw (7 commits)")

---

Tags

phpsentryhyperf

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/sxlxnyw-hyperf-sentry/health.svg)

```
[![Health](https://phpackages.com/badges/sxlxnyw-hyperf-sentry/health.svg)](https://phpackages.com/packages/sxlxnyw-hyperf-sentry)
```

###  Alternatives

[friendsofhyperf/sentry

The sentry component for Hyperf.

1864.6k](/packages/friendsofhyperf-sentry)[minbaby/hyperf-sentry

1926.7k](/packages/minbaby-hyperf-sentry)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
