PHP code example of yawik / sentry

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

    

yawik / sentry example snippets



return [
    'YkSentry'
];

$enable = true;

$sentryConfig = [
    // the DSN (public key) for the sentry server
    'dsn' => '',
];