lebuhorskiy/laravel-madeline-proto-php8
最新稳定版本:1.0.0
Composer 安装命令:
composer require lebuhorskiy/laravel-madeline-proto-php8
包简介
A third party Telegram client library danog/MadelineProto wrapper for Laravel
README 文档
README
A third party Telegram client library danog/MadelineProto wrapper for Laravel.
Getting Started
Add the laravel-madeline-proto to the project dependency:
composer require setiawanhu/laravel-madeline-proto
Then publish the telegram.php config file:
php artisan vendor:publish --provider="Hu\MadelineProto\MadelineProtoServiceProvider"
Set up the Telegram API key by providing env variables:
MP_TELEGRAM_API_ID=... //your telegram api id here MP_TELEGRAM_API_HASH=... //your telegram api hash here
This wrapper package supports for running both single / multiple telegram account.
Dig Deeper
Please check wiki for more details about laravel-madeline-proto usage
Notes
-
This wrapper package is still not wrapping all the apis yet, I'm still focusing on wrapping the messages api.
-
If you can't find the method that you want in Messages facade or need to use the default danog/MadelineProto api, you might want to use
MadelineProto::getClient()facade method. It will returndanog\MadelineProto\APIobject where you can call all the method provided by the danog/MadelineProto library.
Thanks To
Bryan Ramaputra for helping me to write readable documentations.
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: AGPL-3.0-only
- 更新时间: 2023-11-09