PHP code example of mohamadmurad / telegram-tool-kit

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

    

mohamadmurad / telegram-tool-kit example snippets


   'telegram' => [
            'driver' => 'custom',
            'via' => \TelegramKit\TelegramLogger::class,
            'level' => 'debug',
        ],

php artisan vendor:publish --provider="TelegramKit\TelegramKitServiceProvider"
json
{
  "scripts": {
    "post-autoload-dump": [
      "@php artisan TelegramKit:sendTelegramAutoLoadNotification"
    ]
  }
}