{"repo":"php-telegram-bot/laravel","free":true,"listed":false,"github":"https://github.com/php-telegram-bot/laravel","clone":"git clone https://github.com/php-telegram-bot/laravel.git","description":"Laravel package for PHP Telegram Bot Library","language":"PHP","stars":186,"topics":["laravel","telegram","telegram-bot","php-telegram-bot","hacktoberfest","laravel-package","php"],"license":null,"category":"chat-messaging","readme_excerpt":"LaravelTelegramBot [![Latest Version on Packagist][ico-version]][link-packagist] [![Total Downloads][ico-downloads]][link-downloads] Installation Install this package through Composer. Run this command in your project's terminal: Execute the following command to publish the folder structure to your Laravel application: This also includes a dummy /start command to give you a quick start. Since we're using the database part of php-telegram-bot you should run the migrations so the database schema gets installed: And add the following lines to your .env file: TELEGRAM API TOKEN and TELEGRAM BOT USERNAME should be filled with the corresponding data from @BotFather TELEGRAM API URL is optional and can be filled with the URL to your custom Bot API Server if you want to use one. TELEGRAM ADMINS is optional and a comma-separated list of Telegram User IDs that gets passed to the enableAdmins command of php-telegram-bot to enable admin commands for those users. After that you can run php artisan telegram:set-webhook if your development server is reachable from the outside or you're using a custom bot api server. Or php artisan telegram:fetch to start fetching your updates via polling. ⚠️ Be aware that you have to cancel and restart the telegram:fetch command, if you change your code. Usage For further basic configuration of this Laravel package you do not need to create any configuration files. Artisan terminal commands for the Webhook usage (remember, that you need an HTTPS server for ","default_branch":null,"files":null,"tree":[],"storefront":"/r/php-telegram-bot","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/php-telegram-bot/laravel/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}