PHPackages                             danog/madelineproto - 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. [Image &amp; Media](/categories/media)
4. /
5. danog/madelineproto

ActiveLibrary[Image &amp; Media](/categories/media)

danog/madelineproto
===================

Async PHP client API for the telegram MTProto protocol.

8.6.4(2mo ago)3.4k855.0k—1.2%836[54 issues](https://github.com/danog/MadelineProto/issues)[2 PRs](https://github.com/danog/MadelineProto/pulls)18AGPL-3.0-onlyPHPCI passing

Since Jan 16Pushed 1mo ago180 watchersCompare

[ Source](https://github.com/danog/MadelineProto)[ Packagist](https://packagist.org/packages/danog/madelineproto)[ Docs](https://docs.madelineproto.xyz)[ GitHub Sponsors](https://github.com/danog)[ RSS](/packages/danog-madelineproto/feed)WikiDiscussions v8 Synced 1mo ago

READMEChangelog (10)Dependencies (87)Versions (203)Used By (18)

MadelineProto, a PHP MTProto telegram client
============================================

[](#madelineproto-a-php-mtproto-telegram-client)

Created by [Daniil Gentili](https://daniil.it)

`#StandWithUkraine 🇺🇦`

Do join the official channel, [@MadelineProto](https://t.me/MadelineProto) and the [support groups](https://t.me/pwrtelegramgroup)!

[Approved by Telegram!](https://telegram.org/apps)

What's this?
------------

[](#whats-this)

This library can be used to easily interact with Telegram **without** the bot API, just like the official apps.

It can login with a phone number (MTProto API), or with a bot token (MTProto API, **no bot API involved!**).

[It is now fully async](https://docs.madelineproto.xyz/docs/ASYNC.html)!

Getting started ([now fully async!](https://docs.madelineproto.xyz/docs/ASYNC.html))
------------------------------------------------------------------------------------

[](#getting-started-now-fully-async)

```
