andrewlevvv23 / ox-tech-telegram
A laravel facade to interact with Telegram Bots
dev-main
2024-10-06 21:32 UTC
Requires
- php: ^8.0
- illuminate/contracts: ^8.37 | ^9.0 | ^10.0
- illuminate/http: ^8.37 | ^9.0 | ^10.00
- illuminate/support: ^8.37 | ^9.0 | ^10.0
- spatie/laravel-package-tools: ^1.12.1
This package is auto-updated.
Last update: 2025-07-07 08:18:37 UTC
README
OX Tech Telegram is a Laravel package for fluently interacting with Telegram Bots made by OX-Technology
Telegram::message($shat_id, 'This is great packages!')->send();
Installation
You can install the package via composer:
composer require andrewlevvv23/ox-tech-telegram
Next, publish the configuration file telegram.php, and specify bot_token and chat_id in it.
php artisan ox-tech-telegram:publish-config or php artisan vendor:publish --tag=config
Usage & The source of the package
After a new bot is created and added to a chat/group/channel (as described in our documentation),
the Telegram
facade can be used to easily send messages and interact with it:
An extensive documentation is available at