PHPackages                             lukeyouell/craft-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. lukeyouell/craft-sentry

ActiveCraft-plugin[Logging &amp; Monitoring](/categories/logging)

lukeyouell/craft-sentry
=======================

Error tracking that helps developers monitor and fix crashes in real time. Iterate continuously. Boost efficiency. Improve user experience.

1.5.1(7y ago)17123.6k↓80%9[3 issues](https://github.com/lukeyouell/craft-sentry/issues)1MITPHP

Since Nov 29Pushed 6y agoCompare

[ Source](https://github.com/lukeyouell/craft-sentry)[ Packagist](https://packagist.org/packages/lukeyouell/craft-sentry)[ RSS](/packages/lukeyouell-craft-sentry/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (2)Versions (17)Used By (1)

[![icon](src/icon.svg)](src/icon.svg)

Sentry plugin for Craft CMS 3
=============================

[](#sentry-plugin-for-craft-cms-3)

Error tracking that helps developers monitor and fix crashes in real time. Iterate continuously. Boost efficiency. Improve user experience.

[![Screenshot](resources/screenshots/screenshot-1.5.0.png)](resources/screenshots/screenshot-1.5.0.png)

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

[](#installation)

#### Requirements

[](#requirements)

This plugin requires Craft CMS 3.1.0, or later.

#### Plugin Store

[](#plugin-store)

Log into your control panel and click on 'Plugin Store'. Search for 'Sentry'.

#### Composer

[](#composer)

1. Open your terminal and go to your Craft project:

```
cd /path/to/project
```

2. Then tell Composer to load the plugin:

```
composer require lukeyouell/craft-sentry
```

3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Sentry.

Configuring Sentry
------------------

[](#configuring-sentry)

Upon successful installation you will be required to supply a client key (DSN).

Client keys can be found in your [project settings](https://sentry.io/settings/) underneath 'Client Keys (DSN)'.

A [Sentry](https://sentry.io) account is required, if you don't already have one [click here to create one](https://sentry.io/signup).

Free &amp; paid plans are available.

Overriding Plugin Settings
--------------------------

[](#overriding-plugin-settings)

If you create a [config file](https://craftcms.com/docs/config-settings) in your `config` folder called `sentry.php`, you can override the plugin’s settings in the Control Panel. Since that config file is fully [multi-environment](https://craftcms.com/docs/multi-environment-configs) aware, this is a handy way to have different settings across multiple environments.

We recommend storing your client key as an environment variable.

Here’s what that config file might look like along with a list of all of the possible values you can override.

```
