PHPackages                             maksa988/laravel-madeline-proto - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. maksa988/laravel-madeline-proto

ActiveLibrary[HTTP &amp; Networking](/categories/http)

maksa988/laravel-madeline-proto
===============================

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

010PHP

Since Aug 3Pushed 3y agoCompare

[ Source](https://github.com/maksa988/laravel-madeline-proto)[ Packagist](https://packagist.org/packages/maksa988/laravel-madeline-proto)[ RSS](/packages/maksa988-laravel-madeline-proto/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel MadelineProto
=====================

[](#laravel-madelineproto)

[![Latest Stable Version](https://camo.githubusercontent.com/560999d43f0a90f9e4fba2dff39bc0bc03012a8e3fcfedd88ae0943dfc47018d/68747470733a2f2f706f7365722e707567782e6f72672f736574696177616e68752f6c61726176656c2d6d6164656c696e652d70726f746f2f76)](//packagist.org/packages/setiawanhu/laravel-madeline-proto)[![Total Downloads](https://camo.githubusercontent.com/85c17c085b1f4a99d0cc07a8670eb0e6cd66a6dfb3a784df2136a4feb7f1500d/68747470733a2f2f706f7365722e707567782e6f72672f736574696177616e68752f6c61726176656c2d6d6164656c696e652d70726f746f2f646f776e6c6f616473)](//packagist.org/packages/setiawanhu/laravel-madeline-proto)[![License](https://camo.githubusercontent.com/58d23f293e9fdb3295ed99c252baaecb0f5627698456e68cc76f65c276a84d97/68747470733a2f2f706f7365722e707567782e6f72672f736574696177616e68752f6c61726176656c2d6d6164656c696e652d70726f746f2f6c6963656e7365)](//packagist.org/packages/setiawanhu/laravel-madeline-proto)

A third party Telegram client library [danog/MadelineProto](https://github.com/danog/MadelineProto) wrapper for Laravel.

Getting Started
===============

[](#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](https://github.com/setiawanhu/laravel-madeline-proto/wiki/Single-Telegram-Account) / [multiple](https://github.com/setiawanhu/laravel-madeline-proto/wiki/Multiple-Telegram-Account) telegram account.

Dig Deeper
----------

[](#dig-deeper)

Please check [wiki](https://github.com/setiawanhu/laravel-madeline-proto/wiki) for more details about laravel-madeline-proto usage

Notes
=====

[](#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](https://github.com/danog/MadelineProto) library.

Thanks To
=========

[](#thanks-to)

[Bryan Ramaputra](https://github.com/Ordinal43) for helping me to write readable documentations.

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 Bus Factor1

Top contributor holds 92.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/20fbc1e64ffeb6456030e392c1f59eb47a5e9dbb4406aa117ce2a343a4c9f1ba?d=identicon)[maksa988](/maintainers/maksa988)

---

Top Contributors

[![setiawanhu](https://avatars.githubusercontent.com/u/27731265?v=4)](https://github.com/setiawanhu "setiawanhu (50 commits)")[![maksa988](https://avatars.githubusercontent.com/u/5982466?v=4)](https://github.com/maksa988 "maksa988 (3 commits)")[![danog](https://avatars.githubusercontent.com/u/7339644?v=4)](https://github.com/danog "danog (1 commits)")

### Embed Badge

![Health badge](/badges/maksa988-laravel-madeline-proto/health.svg)

```
[![Health](https://phpackages.com/badges/maksa988-laravel-madeline-proto/health.svg)](https://phpackages.com/packages/maksa988-laravel-madeline-proto)
```

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
