PHPackages                             znmin/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. [API Development](/categories/api)
4. /
5. znmin/laravel-madeline-proto

ActiveLibrary[API Development](/categories/api)

znmin/laravel-madeline-proto
============================

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

2.0.3(2y ago)11081AGPL-3.0-onlyPHPPHP ^8.0

Since Jul 9Pushed 2y agoCompare

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

READMEChangelogDependencies (5)Versions (22)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

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 98% 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.

###  Release Activity

Cadence

Every ~58 days

Recently: every ~106 days

Total

20

Last Release

1014d ago

Major Versions

v0.1.0 → 1.0.02020-08-12

1.4.5 → 2.0.02023-08-01

PHP version history (3 changes)v0.1.0PHP ^7.4

1.2.0PHP ^7.4|^8.0

1.4.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/e20f867727b42a198f63550336f1eeddd6a6b9b1b7d5e8c12bb68e18337c7b2e?d=identicon)[znmin](/maintainers/znmin)

---

Top Contributors

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

---

Tags

laraveltelegrammadeline-proto

### Embed Badge

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

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

###  Alternatives

[irazasyed/telegram-bot-sdk

The Unofficial Telegram Bot API PHP SDK

3.3k4.5M84](/packages/irazasyed-telegram-bot-sdk)[andreaselia/laravel-api-to-postman

Generate a Postman collection automatically from your Laravel API

1.0k586.2k3](/packages/andreaselia-laravel-api-to-postman)[essa/api-tool-kit

set of tools to build an api with laravel

52680.5k](/packages/essa-api-tool-kit)[mll-lab/laravel-graphiql

Easily integrate GraphiQL into your Laravel project

683.2M9](/packages/mll-lab-laravel-graphiql)[setiawanhu/laravel-madeline-proto

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

515.2k](/packages/setiawanhu-laravel-madeline-proto)

PHPackages © 2026

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