PHP code example of valantic-spryker-eco / sentry
1. Go to this page and download the library: Download valantic-spryker-eco/sentry 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/ */
valantic-spryker-eco / sentry example snippets
$config[KernelConstants::CORE_NAMESPACES] = [
'ValanticSpryker',
...
];
$config[SentryConstants::PROJECT_DSN] = '<your sentry project DSN>';
...
use ValanticSpryker\Service\Sentry\Plugin\Monitoring\SentryMonitoringExtensionPlugin;
...
protected function getMonitoringExtensions(): array
{
return [
...
new SentryMonitoringExtensionPlugin(),
...
];
}