PHPackages                             friendsofhyperf/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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. friendsofhyperf/sentry

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

friendsofhyperf/sentry
======================

The sentry component for Hyperf.

v3.2.1(2w ago)1974.5k↓21%7MITPHPCI passing

Since Nov 29Pushed 2w ago1 watchersCompare

[ Source](https://github.com/friendsofhyperf/sentry)[ Packagist](https://packagist.org/packages/friendsofhyperf/sentry)[ Fund](https://hdj.me/sponsors/)[ GitHub Sponsors](https://github.com/huangdijia)[ RSS](/packages/friendsofhyperf-sentry/feed)WikiDiscussions main Synced yesterday

READMEChangelog (10)Dependencies (26)Versions (261)Used By (0)

Sentry
======

[](#sentry)

[中文说明](README_CN.md)

[![Latest Version](https://camo.githubusercontent.com/e456929dba260a60cd44e3250505b1d02762f87c569525712392fda1fbbbae70/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f667269656e64736f666879706572662f73656e7472792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/friendsofhyperf/sentry)[![Total Downloads](https://camo.githubusercontent.com/0d2238ad01ff02e5f91e07b83083558a54d0cf4be7be4dbdc6537c7d9bb38f6f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f667269656e64736f666879706572662f73656e7472792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/friendsofhyperf/sentry)[![GitHub license](https://camo.githubusercontent.com/3b18112e0211a14d51dd3d7001bc91ae5a777388253966486bdf9a5d42b01ed9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f667269656e64736f666879706572662f73656e747279)](https://github.com/friendsofhyperf/sentry)

Sentry component for Hyperf. It integrates the Sentry PHP SDK with Hyperf application lifecycle events, logs, tracing, metrics, crons, and coroutine-friendly transport.

Installation
------------

[](#installation)

```
composer require friendsofhyperf/sentry
```

Optional integrations require the related Hyperf or client packages, for example `hyperf/amqp`, `hyperf/crontab`, `hyperf/database`, `hyperf/rpc-multiplex`, `elasticsearch/elasticsearch`, `phpmyadmin/sql-parser`, or `hyperf/engine`.

Publish Configuration
---------------------

[](#publish-configuration)

```
php bin/hyperf.php vendor:publish friendsofhyperf/sentry
```

This publishes `config/autoload/sentry.php`. The core settings are:

```
