borsaco/telegram-bot-api-bundle
main—here’s the log").YES to claim your discount!").maintenance flag).Use this if:
Look elsewhere if:
telegram-bot-api directly).telegram-bot-api).symfony/telegram).*"This package lets us deploy Telegram bots in our Symfony apps with zero API boilerplate—think Slack for our users, but on Telegram. For example:
*"This is a Symfony-specific wrapper for the Telegram Bot API, offering:
config/packages/telegram.yaml and inject the Bot service anywhere.@SupportBot and @SalesBot) from one config.async_requests: true if needed, but test performance).telegram-bot-api or symfony/telegram."**"Want to send a Telegram message from a Symfony controller? Here’s how:
use Borsaco\TelegramBotApiBundle\Service\Bot;
class MyController {
public function __construct(private Bot $bot) {}
public function sendAlert() {
$this->bot->sendMessage([
'chat_id' => '123456789',
'text' => 'Deploy failed! Check logs: example.com/logs',
]);
}
}
Pros:
telegram.yaml (supports proxies, maintenance mode).sendMediaGroup without extensions).How can I help you explore Laravel packages today?