PHPackages                             salo-man/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. salo-man/laravel-madeline-proto

ActiveLibrary[API Development](/categories/api)

salo-man/laravel-madeline-proto
===============================

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

016PHP

Since Sep 18Pushed 2y agoCompare

[ Source](https://github.com/salo-man/laravel-madeline-proto)[ Packagist](https://packagist.org/packages/salo-man/laravel-madeline-proto)[ RSS](/packages/salo-man-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 salo-man/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

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 Bus Factor1

Top contributor holds 82% 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/82218fc9d295e5baf7c4369eaad5189f287f10b2b526a1d6000cf1282048f95d?d=identicon)[salo-man](/maintainers/salo-man)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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