luketowers / oc-sentry-plugin
Sentry.io integration for October CMS
Installs: 2 198
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 3
Open Issues: 0
Type:october-plugin
Requires
- composer/installers: ~1.0
- sentry/sentry-laravel: ~1.5
This package is auto-updated.
Last update: 2021-12-14 19:46:12 UTC
README
Use https://github.com/wintercms/wn-sentry-plugin instead. This package is abandoned.
About
Integrates the sentry-laravel package into October CMS.
Configuration
If you are using the .env
file for configuration, simply add your Sentry DSN to the environment file as SENTRY_LARAVEL_DSN
or SENTRY_DSN
. If you are not using the .env
file, simply copy plugins/luketowers/sentry/config/config.php
to config/luketowers/sentry/config.php
and change the value of dsn
.
After you have provided the DSN, you can go to example.com/debug-sentry
to test that exceptions are being reported to Sentry. Note that by default this route is only enabled when debug mode is enabled, although you can set it to be explicitly enabled or disabled by changing enableTestRoute
in config/luketowers/sentry/config.php
.
Installation
To install from the Marketplace, click on the "Add to Project" button and then select the project you wish to add it to and pay for the plugin. Once the plugin has been added to the project, go to the backend and check for updates to pull in the plugin.
To install from the backend, go to Settings -> Updates & Plugins -> Install Plugins and then search for LukeTowers.Sentry
.
To install from the repository, clone it into plugins/luketowers/sentry and then run composer update
from your project root in order to pull in the dependencies.
To install it with Composer, run composer require luketowers/oc-sentry-plugin
from your project root.