Download the PHP package helhum/sentry-typo3 without Composer
On this page you can find all versions of the php package helhum/sentry-typo3. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download helhum/sentry-typo3
More information about helhum/sentry-typo3
Files in helhum/sentry-typo3
Package sentry-typo3
Short Description Sentry Integration for TYPO3
License GPL-2.0-or-later
Homepage https://helhum.io
Informations about the package sentry-typo3
Sentry TYPO3 Integration
Exception and error logging with Sentry, see https://sentry.io
Sentry provides open-source and hosted error monitoring that helps all software teams discover, triage, and prioritize errors in real-time.
Sentry is available as SaaS including a free plan for developers or as download for self-hosting.
This package is a wrapper for https://github.com/getsentry/sentry-php
Installation
Configuration
Set the dsn in your global configuration:
It is possible to change / add other Sentry options like this:
Since the integration is purely done with log writers, make sure you add at least one writer. It is recommended to add a global writer as follows:
To get additional information for each error/warning logged, add the breadcrumb writer as well
If you want to have different environments to filter by in Sentry, you can set them like this:
Where should I put the configuration?
This package expects settings to be exposed in main TYPO3 configuration (aka `TYPO3_CONF_VARS). How you expose it, totally depends on your use case, your deployment strategy and project structure.
This means: Put the configuration in either LocalConfiguration.php
or AdditionalConfiguration.php
depending on your needs and structure of your project.
How to test the connection to Sentry?
Run typo3 sentry:test
cli command, that is provided and
some messages should be reported to the configured Sentry endpoint.
Improvements / Issues
This package is managed on GitHub. Feel free to get in touch at https://github.com/helhum/sentry-typo3
All versions of sentry-typo3 with dependencies
helhum/php-error-reporting Version ^1.0
sentry/sdk Version ^3.3
php-http/guzzle7-adapter Version ^1.0
typo3/cms-core Version ^11.5