PHP code example of asbiin / laravel-sentry-tunnel
1. Go to this page and download the library: Download asbiin/laravel-sentry-tunnel 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/ */
asbiin / laravel-sentry-tunnel example snippets
->withMiddleware(function (Middleware $middleware) {
$middleware->validateCsrfTokens(except: [
'/sentry/tunnel',
]);
})
shell
php artisan vendor:publish --provider=SentryTunnel\\Provider