mohsen-najafizadeh/telegram-notifier
最新稳定版本:v1.1.0
Composer 安装命令:
composer require mohsen-najafizadeh/telegram-notifier
包简介
A PHP package that handles API requests and sends notifications to Telegram seamlessly.
README 文档
README
A simple PHP package for sending messages to Telegram using the Telegram Bot API.
Features
- Send messages to Telegram channels and users.
- Easy integration with your PHP projects.
- Uses Guzzle HTTP Client for robust API communication.
Installation
You can install the package via Composer:
composer require mohsen-najafizadeh/telegram-notifier
Requirements
- PHP 8.0 and above.
- Guzzle HTTP Client (Version 7.0 and above).
Quick Start
Here’s how you can send a simple message using the package:
use MohsenNajafizadeh\TelegramNotifier\Telegram; $response = Telegram::sendMessage($message, $botToken, $chatId);
For detailed documentation and examples, refer to the Documentation / Documentation that created by PHPDocumentor.
Contribution
If you want to contribute to the project, please read the Contributing Guidelines.
License
This package is open-sourced software licensed under the MIT license.
统计信息
- 总下载量: 55
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-12-04