PHP code example of digicademy / typo3-sentry-transaction-handler

1. Go to this page and download the library: Download digicademy/typo3-sentry-transaction-handler library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

digicademy / typo3-sentry-transaction-handler example snippets


// typo3conf/system/additional.php (or settings.php)
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['sentry_client']['options']['traces_sample_rate'] = 0.1;