PHP code example of avoutic / web-framework-sentry

1. Go to this page and download the library: Download avoutic/web-framework-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/ */

    

avoutic / web-framework-sentry example snippets


return [
    'definition_files' => [
        '../vendor/avoutic/web-framework/definitions/definitions.php',
        '../vendor/avoutic/web-framework-sentry/definitions/definitions.php',
        'app_definitions.php',
    ],
];



namespace WebFramework;

use DI;

return [
    Core\Instrumentation::class => DI\autowire(Core\SentryInstrumentation::class),