TimurGit / telegram-bot-laravel-starter

Telegram Bot SDK - Laravel Starter. SDK: https://github.com/irazasyed/telegram-bot-sdk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Telegram Bot SDK - Laravel Starter

This repository is an example Laravel application to start developing Telegram Bot using telegram-bot-sdk.

Built with

Installation

  1. Create a new bot project using this boilerplate.
composer create-project irazasyed/telegram-bot-laravel-starter my_new_bot
  1. Install Laravel Valet and use valet share to retrieve a HTTPS URL that you can use it to setup a webhook with Telegram for testing. The predefined route is /bot/webhook.

  2. Edit your .env file and set your bot token in TELEGRAM_BOT_TOKEN=

  3. Modify your bot logic in app/Controllers/BotController.php and/or routes/bot.php.

  4. Build some awesome bots and don't forget to list them on our bots showcase.

Read docs to know more about the features and other info.

About

Telegram Bot SDK - Laravel Starter. SDK: https://github.com/irazasyed/telegram-bot-sdk


Languages

Language:PHP 96.3%Language:HTML 3.1%Language:Vue 0.6%