PHP code example of deepeloper / tunneled-webhooks
1. Go to this page and download the library: Download deepeloper/tunneled-webhooks 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/ */
deepeloper / tunneled-webhooks example snippets
// ...
'service' => [
'class' => "\\deepeloper\\TunneledWebhooks\\Service\Ngrok",
// CLI command to run service.
// Modify path here:
'command' => "/path/to/ngrok http 80",
// ...
],
'webhook' => [
'Telegram' => [
'Windbag' => [
// ...
// Telegram bot token.
// Modify token here:
'token' => "",
// ...