PHPackages                             gluck1986/yii-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. gluck1986/yii-sentry

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

gluck1986/yii-sentry
====================

A Sentry integration for Yii Framework

1.0.0(3y ago)07[1 PRs](https://github.com/gluck1986/yii-sentry/pulls)BSD-3-ClausePHPPHP ^8.0

Since Jul 22Pushed 3y agoCompare

[ Source](https://github.com/gluck1986/yii-sentry)[ Packagist](https://packagist.org/packages/gluck1986/yii-sentry)[ Docs](https://www.yiiframework.com/)[ GitHub Sponsors](https://github.com/yiisoft)[ Fund](https://opencollective.com/yiisoft)[ RSS](/packages/gluck1986-yii-sentry/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (16)Versions (9)Used By (0)

 [ ![](https://camo.githubusercontent.com/8317c17418b39410a660f5149071d26c5023c0d5fb2b7ebb771324812f666d73/68747470733a2f2f796969736f66742e6769746875622e696f2f646f63732f696d616765732f7969695f6c6f676f2e737667) ](https://github.com/yiisoft) [ ![Sentry](https://camo.githubusercontent.com/63d7d9ecd366a58bdf965da3824d392a4ef345b8097753faa12ae07738ac8431/68747470733a2f2f73656e7472792d6272616e642e73746f726167652e676f6f676c65617069732e636f6d2f73656e7472792d776f72646d61726b2d6461726b2d3238307838342e706e67) ](https://sentry.io/)

Yii Sentry
==========

[](#yii-sentry)

The package provides [Sentry](https://sentry.io/) integration for Yii Framework

[![Latest Stable Version](https://camo.githubusercontent.com/9d18cb156891e346b8b7fb1ae45a5276f24ad6ed6b1d739a7c5cb7626ff40047/68747470733a2f2f706f7365722e707567782e6f72672f796969736f66742f7969692d73656e7472792f762f737461626c652e706e67)](https://packagist.org/packages/yiisoft/yii-sentry)[![Total Downloads](https://camo.githubusercontent.com/1eebf48a276c66fcdf4501a38a9b31e324eb9d8ecc4d7343b0d4f4a65c8d605f/68747470733a2f2f706f7365722e707567782e6f72672f796969736f66742f7969692d73656e7472792f646f776e6c6f6164732e706e67)](https://packagist.org/packages/yiisoft/yii-sentry)[![Build status](https://github.com/yiisoft/yii-sentry/workflows/build/badge.svg)](https://github.com/yiisoft/yii-sentry/actions?query=workflow%3Abuild)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/f707cc6d22905cb55b2e820bb986effe83508028297bbb7da497f1407e94d69b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f796969736f66742f7969692d73656e7472792f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/yiisoft/yii-sentry/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/c6eeb0e4b75f511a78b32b0e3505b52cd5d11489558c062e750adc6a4c1e6281/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f796969736f66742f7969692d73656e7472792f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/yiisoft/yii-sentry/?branch=master)[![Mutation testing badge](https://camo.githubusercontent.com/c0b9d6683dd13a5cf1c56bb1e04d9f8933c939a89f799ba8bdb18c82edd4381d/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d253246796969736f66742532467969692d73656e7472792532466d6173746572)](https://dashboard.stryker-mutator.io/reports/github.com/yiisoft/yii-sentry/master)[![static analysis](https://github.com/yiisoft/yii-sentry/workflows/static%20analysis/badge.svg)](https://github.com/yiisoft/yii-sentry/actions?query=workflow%3A%22static+analysis%22)

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

[](#installation)

The package needs PSR-compatible HTTP client and factories so require it additionally to this package:

```
composer install httpsoft/http-message
composer install php-http/guzzle7-adapter
composer install yiisoft/yii-sentry
```

The first two can be replaced to other packages of your choice.

For handling console errors `yii-console` and `yii-event` packages are required additionally:

```
composer install yiisoft/yii-console
composer install yiisoft/yii-event
```

Configure HTTP factories and client (usually that is `config/common/sentry.php`):

```
