Async PHP client/server API for the telegram MTProto protocol https://docs.madelineproto.xyz
Go to file
2016-08-15 02:37:59 +02:00
.vscode Fixed serialization/deserialization, now fixing mess in prime number generation module... 2016-07-18 17:11:37 +02:00
src/danog/MadelineProto Finally fixed authorization 2016-08-15 02:37:59 +02:00
.gitignore Fixed prime module, removed dependencies from repository, adapted for hhvm. 2016-08-10 14:51:28 +02:00
.travis.yml Fixed prime module, removed dependencies from repository, adapted for hhvm. 2016-08-10 14:51:28 +02:00
composer.json Fixed prime module, removed dependencies from repository, adapted for hhvm. 2016-08-10 14:51:28 +02:00
composer.lock Finally fixed req_DH_params method 2016-08-14 20:00:30 +02:00
credentials Added credentials 2016-08-04 22:22:48 +02:00
LICENSE Reorganized code 2016-08-08 18:10:13 +02:00
README.md Finally fixed authorization 2016-08-15 02:37:59 +02:00
telepy.php Reorganized code 2016-08-08 18:10:13 +02:00
testing.php Added tests, added layer 55 json 2016-08-09 22:28:50 +02:00

MadelineProto

StyleCI Build Status

Licensed under AGPLv3.

PHP implementation of MTProto, based on telepy.

This project can run on PHP 7, PHP 5.6 and HHVM.

This is a WIP. Here all of the things that still have to be done in this library.
You can (and you are also encouraged to) contribute by completing any of the following points.
The importance of each item will range from 1 to 5. It's better to start from the most important items.

  • In Session.php and TL, manage rpc errors, notifications, error codes and basically everything that isn't a normal response (4).
  • In Connection.php and Session.php, add support for http, https and (maybe) udp connections and fix tcp intermediate connections (3).
  • In API.php, complete a decent authorization flow that supports both bots and normal users (2).
  • In PrimeModule.php, fix the mess in it, choose one of (the fastest) native php prime factorization function and implement it without biginteger (1.5).

The name of this project is inspired by this person.