setiawanhu/laravel-madeline-proto

A third party Telegram client library danog/MadelineProto wrapper for Laravel
5,233 51
Install
composer require setiawanhu/laravel-madeline-proto
Latest Version:1.3.0
PHP:^7.4|^8.0
Laravel:7 · 8
License:AGPL-3.0-only
Last Updated:Dec 23, 2022
Links: GitHub  ·  Packagist
Maintainer: setiawanhu

Laravel MadelineProto

Latest Stable Version Total Downloads License

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 return danog\MadelineProto\API object where you can call all the method provided by the danog/MadelineProto library.

Thanks To

Bryan Ramaputra for helping me to write readable documentations.

Related Packages

php-core/laravel-madeline-proto

A third party Telegram client library danog/MadelineProto wrapper for Laravel

1,023 0
lartie/telegram-bot-maker

Telegram Bot Maker for Laravel

6 1
botman/driver-telegram

Telegram driver for BotMan

490,926 94
babenkoivan/telegram-notifications

Telegram notifications for Laravel

52,202 38
azate/laravel-telegram-login-auth

Laravel Telegram Login Auth

22,803 37

Version History

Version Released PHP Laravel License
1.3.0 ^7.4|^8.0 ^7.0|^8.0 AGPL-3.0-only
1.2.2 ^7.4|^8.0 ^7.0|^8.0 AGPL-3.0-only
1.2.1 ^7.4|^8.0 ^7.0|^8.0 AGPL-3.0-only
1.2.0 ^7.4|^8.0 ^7.0|^8.0 AGPL-3.0-only
1.1.0 ^7.4 ^7.0|^8.0 AGPL-3.0-only