PHP code example of zaengle / envoyer-sentry-release-notifier

1. Go to this page and download the library: Download zaengle/envoyer-sentry-release-notifier 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/ */

    

zaengle / envoyer-sentry-release-notifier example snippets




use Zaengle\EnvoyerSentryReleaseNotifier\EnvoyerSentryReleaseNotifier;

return [
    // capture release as git sha
    'release' => app(EnvoyerSentryReleaseNotifier::class)->getCommitHash(),
    
    // rest of config...
];
shell script
echo "{{ sha }}" > {{release}}/.commit_hash