PHP code example of hotrush / laravel-backup-telegram-notifications
1. Go to this page and download the library: Download hotrush/laravel-backup-telegram-notifications 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/ */
hotrush / laravel-backup-telegram-notifications example snippets
// config/services.php
'telegram-bot-api' => [
'token' => env('TELEGRAM_BOT_TOKEN', 'YOUR BOT TOKEN HERE')
],