PHPackages                             mohammad-zarifiyan/laravel-telegram-bot - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. mohammad-zarifiyan/laravel-telegram-bot

ActiveLibrary[API Development](/categories/api)

mohammad-zarifiyan/laravel-telegram-bot
=======================================

A Laravel package that helps you to easily create scalable Telegram bots and send notifications through Telegram.

11.0.4(2mo ago)6577PHPPHP &gt;=8.1

Since Jan 30Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/MohammadZarifiyan/Laravel-Telegram-Bot)[ Packagist](https://packagist.org/packages/mohammad-zarifiyan/laravel-telegram-bot)[ RSS](/packages/mohammad-zarifiyan-laravel-telegram-bot/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (5)Used By (0)

Introduction
============

[](#introduction)

This package helps you to easily use the Telegram Bot API in your Laravel project and utilize its features to build a great Telegram bot.

Please read [The Telegram API documentation](https://core.telegram.org/bots/api) to gain dipper understanding about how to work with this package.

Installation
============

[](#installation)

To install the package in your project, run the following command in your project root folder:

```
composer require mohammad-zarifiyan/laravel-telegram-bot:^11.0
```

Basic configuration
===================

[](#basic-configuration)

If you would like to publish the configuration file, run the following command (optional):

```
php artisan vendor:publish --provider="MohammadZarifiyan\Telegram\Providers\InstantServiceProvider" --tag="telegram-config"
```

Configure API Key
-----------------

[](#configure-api-key)

To use Telegram bots, you must have an API key. Obtain your API key via [@BotFather](https://t.me/BotFather). Then, set your bot's API key. By default, you should add the following code to the `config/services.php` file:

```
