Telegram Laravel Forge Bot

Telegram Laravel Forge Bot

Ivan Torgov has created the @LaravelForgeBot for Telegram that allows you to manage your Laravel Forge servers and sites.

When I started to use Laravel Forge I found that it couldn’t send deployment notifications to Telegram. Also, I wanted to allow running deploy or view deployment log to my teammates but I didn’t want to share a password of my Laravel Forge account. So, I decided to develop this bot to solve these problems.

Here are things you can do with your server:

  • Reboot the server
  • Reboot MySQL
  • Reboot PostgreSQL
  • Reboot PHP
  • Reboot NGINX

Of course, you can view a list of your sites. There is a screenshot from the “Server” screen:

For each site, you can run the deployment script or get the latest deployment log. Here is an example of how can “Site” screen looks like:

Note that you can set sending notifications not only to you. You can set sending notifications to any chat you want. For example, using this ability only one member of your team will manage servers in his private chat with the bot, but all members will receive deployment notifications in your team chat.

You even can use this bot in a group and all members will be able to make any available operations.

The source code of this bot is on GitHub at itorgov/laravel-forge-bot.

Filed in: News / Forge / packages / Telegram


Join 31,000+ others and never miss out on new tips, tutorials, and more.

Laravel News Partners

Laravel Jobs

Software Developer
Remote (US & Canada)
😎 Laravel Developer
Jogg, Inc
Junior, Mid, and Senior Software Engineers. Laravel / Vue. Saint Petersburg, FL
Saint Petersburg, FL and Remote
Senior PHP Developer (Laravel)
The Interaction Design Foundation
Fullstack Laravel Engineer (Munich/Remote) 💻
Munich, Germany or Remote