aoe / sentry-client-js
TYPO3 extension for client-side error logging with Sentry
Installs: 95
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 32
Forks: 1
Open Issues: 0
Type:typo3-cms-extension
Requires
- php: ^7.4 || ^8.0
- cweagans/composer-patches: ~1.0
- typo3/cms-core: ^11.5
Requires (Dev)
- nimut/testing-framework: ^6.0
- phpcompatibility/php-compatibility: ^9.3
- phpspec/prophecy-phpunit: ^2.0
- phpstan/phpstan: 0.12.88
- rector/rector: 0.11.20
- symplify/easy-coding-standard: 9.3.26
- symplify/phpstan-rules: 9.3.26
README
TYPO3 Extension to integrate client-side error reporting with Sentry. IMPORTANT: We don't support this extension anymore. This extension will be archived.
Description
The extension adds the Sentry JavaScript library (Raven.js) into your page.
Example Output
<script src="https://cdn.ravenjs.com/3.8.0/raven.min.js" crossorigin="anonymous"></script>
<script>Raven.config('https://xxxxxxxxxxxxxxxxx@sentry.io/xxxxxx').install();</script>
Installation
composer require aoe/sentry-client-js
After the Extension is installed, you can add the Static Include for the Extension (sentry_client_js).
Configuration
You can set your Sentry client key (DSN) with a TypoScript constant:
const.tx_sentry_client_js.dsn = https://xxxxxxxxxxxxxxxxx@sentry.io/xxxxxx
You can set the desired Raven.js version:
const.tx_sentry_client_js.client_version = 3.13.1
Activate / Deactivate
If you do not set your DSN the script is not included.