1. Go to this page and download the library: Download exploitfate/yii2-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/ */
exploitfate / yii2-sentry example snippets
return [
'bootstrap' => ['sentry'],
// ...
'components' => [
// ...
'sentry' => [
'class' => 'exploitfate\yii\sentry\Sentry',
'enabled' => false, // optional, default = false
'options' => [
'dsn' => 'http://1234567890:[email protected]/7654321',
// 'traces_sample_rate' => 1.0,
// Set a sampling rate for profiling - this is relative to traces_sample_rate
// 'profiles_sample_rate' => 1.0,
],
],
// ...
],
];
shell
sudo apt -y install php-excimer
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.