winter/wn-sentry-plugin is a Laravel package for sentry.io integration for winter cms.
It currently has 3 GitHub stars and 30.582 downloads on Packagist (latest version v2.2.3).
Install it with composer require winter/wn-sentry-plugin.
Discover more Laravel packages by winter
or browse all Laravel packages to compare alternatives.
Last updated
Integrates the sentry-laravel package into Winter CMS.
Supports:
This plugin is available for installation via Composer.
composer require winter/wn-sentry-plugin
After installing the plugin you will need to run the migrations and (if you are using a public folder) republish your public directory.
php artisan migrate
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/winter/sentry/config/config.php to config/winter/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/winter/sentry/config.php.