Laravel Telegraph Package for Telegram bot

Laravel connect with telegram

Telegraph is a Laravel package created by def-studio. If you want to connect a Laravel project with Telegram bots this package makes it easy.

How to start with Laravel Telegraph?

1 Installation.

You can install the package via composer:

composer require defstudio/telegraph

In order to work, Telegraph needs you to run its migrations:

php artisan vendor:publish --tag="telegraph-migrations"
php artisan migrate

You can publish the config file with:

php artisan vendor:publish --tag="telegraph-config"

2 Creating a new Telegram bot

Go to the @BotFather app on Telegram.

Send /newbot, to start creating a new Bot and setting its name and username.

For more see the docs and the GitHub repo.