2016-07-15 13:03:36 +02:00
|
|
|
{
|
|
|
|
"name": "danog/madelineproto",
|
|
|
|
"description": "PHP implementation of telegram's MTProto protocol.",
|
|
|
|
"type": "project",
|
2018-02-18 14:18:18 +01:00
|
|
|
"license": "AGPL-3.0-only",
|
2016-08-07 23:23:10 +02:00
|
|
|
"homepage": "https://daniil.it/MadelineProto",
|
2016-11-17 13:05:31 +01:00
|
|
|
"keywords": ["telegram", "mtproto", "protocol", "bytes", "messenger", "client", "PHP", "video", "stickers", "audio", "files", "GB"],
|
2017-05-16 15:12:04 +02:00
|
|
|
"conflict": {
|
|
|
|
"krakjoe/pthreads-polyfill": "*"
|
|
|
|
},
|
2016-07-15 13:03:36 +02:00
|
|
|
"require": {
|
2019-06-12 20:51:38 +02:00
|
|
|
"php": ">=7.1.0",
|
2019-06-13 14:43:30 +02:00
|
|
|
"danog/primemodule": "^1",
|
Documentation rework (#349)
* Documentation rework
* Apply fixes from StyleCI
* Documentation fixes
* Login as bot through web/cli API, allow using invite links in joinChannel, full invite links in importChatInvite and checkChatInvite, non-invite links in importChatInvite
* Apply fixes from StyleCI
* Logging fixes
* Build docs
* Add methods to modify start template, bugfix to logging and keyboard conversion
* Add TL documentator
* Document MTProto methods
* Documenting methods...
* 7% documented
* Bugfixes
* Update docs
* Update docs
* Simplify file management
* Implement automatic object conversion for media, and more awesome stuff
* Implement automatic object conversion for media, and more awesome stuff
* Implement event update handler and file upload/download callback
* Auto-detect mime type, duration, width and height of media
* Update docs
* Document new file functions
* Fix links
* Fix links
* Update bot.php to use event loop
* Implement webhook update handler and forking in main loop
* Build docs
* Better docs
* Fixes to secret chats
* Almost finished updating docs
* Bugfixes, implemented infinite loop for loop() method, almost finished docs
* Finish writing docs
* Add automatic documentation builder script
* Finished writing docs
2018-03-20 12:48:05 +01:00
|
|
|
"danog/magicalserializer": "^1.0",
|
2019-06-21 17:11:47 +02:00
|
|
|
"phpseclib/phpseclib": "dev-master#5e7d39153270dfd19d585504b0a29ac65a62adf9 as 2.0.15",
|
2019-05-13 17:59:10 +02:00
|
|
|
"vlucas/phpdotenv": "^3",
|
2019-06-24 16:28:54 +02:00
|
|
|
"erusev/parsedown": "^1.7",
|
2018-04-10 00:12:34 +02:00
|
|
|
"ext-mbstring": "*",
|
2018-05-14 20:23:01 +02:00
|
|
|
"ext-json": "*",
|
Merge alpha into master (async, huge bugfixes and more) (#546)
* Implement async and lots of bugfixes
* Implement more async
* Implement async, implement bugfixes for the connection module, for the datacenter module, huge bugfixes, huge perfomance improvements, media DCs for https, advanced selecting, custom var_dump, totally rewritten IOLoop and response mechanism, promises, improvements to the TL parser, custom mb_substr
* Apply fixes from StyleCI
* Bugfixes
* Apply fixes from StyleCI
* Bugfixes, implement combined promises
* Apply fixes from StyleCI
* Support passing method arguments as callable
* Starting to write async upload logic
* Apply fixes from StyleCI
* Start implementing async file upload
* Apply fixes from StyleCI
* bugfix
* Apply fixes from StyleCI
* Start rewriting connection module
* Add PHP file docblocks for all classes
* Start working on new async stream API
* Finish writing stream API
* More stream API fixes
* Apply fixes from StyleCI
* Rewrite DataCenter and Connection modules
* Clean up stream API documentation
* Fixes
* Apply fixes from StyleCI
* Add referenced parameter to get length of buffer to read in getReadBuffer API
* Moved all MessageHandler code in the Connection module, added a PHP version warning in the phar
* Start fixing reads
* Fix all protocol stream wrappers
* Apply fixes from StyleCI
* Implement disconnection, and remove end function
* Working async RPC
* Implement async file upload
* Bugfix
* Method recall bugfixes
* Bugfixes
* Trait bugfixes
* Fix FIFO buffer
* Bugfixes and speedtests
* Async logging
* Implement websocket streams
* Implement loop API, signal API, clean closing and start changing layer
* Small magna, websocket and HTTP fixes
* Clean up loop API
* Improved stack traces, 2FA and async
* Login fixes
* Added instructions for manual verification
* Small fixes
* More app info improvements
* More app info improvements
* TL and 2FA fixes
* Update to layer 89
* More bugfixes
* Implement broken media reporting
* Remove debug comments
* PHP 7.2 backwards compatibility
* Bugfixes
* Async key generation
* Some simplifications
* Transport fixes
* Cleanup
* async API
* Performance fixes
* Fixes to async API
* Bugfixes
* Implement one-time async loop
* Authorization and logging fixes
* Update to layer 91
* 7to5 fix
* Null coalesce conversion
* Implement socks5 proxy
* Implement HTTP proxy
* Fixes to HTTP proxy
* MTProxy and socks5 fixes
* Disable PHP 5 conversion
* Proxies have higher priority
* Avoid error handling in vendor
* Override composer dependencies
* Fix travis build
* Final composer fixes
* Proxy logic fixes
* Fix get_updates update handling
* Do not use parallel file driver if not supported
* Refactor loader and implement HTTP fixes
* Suppress errors in loader
* HTTP and authorization fixes
* HTTP fixes
* Improved peer management
* Use HTTP protocol on altervista
* Small bugfixes
* Minor fixes
* Docufix
* Docufix
* Legacy fixes
* Fix message queue
* Avoid updating if using MTProxy
* Improve logs and examples
* Trim final newlines while converting parse mode
* Reimplement noResponse flag
* Async combined event handler and APIFactory fixes
* Actually return config
* Case-insensitive methods
* Bugfix
* Apply fixes from StyleCI (#545)
* MTProxy fixes
* PHP 5 warning
* Improved PHP 5 warning
* Use <br> along with newlines in web logs
* Update docs
2018-12-26 20:51:14 +01:00
|
|
|
"ext-xml": "*",
|
2019-06-07 17:21:43 +02:00
|
|
|
"ext-fileinfo": "*",
|
Merge alpha into master (async, huge bugfixes and more) (#546)
* Implement async and lots of bugfixes
* Implement more async
* Implement async, implement bugfixes for the connection module, for the datacenter module, huge bugfixes, huge perfomance improvements, media DCs for https, advanced selecting, custom var_dump, totally rewritten IOLoop and response mechanism, promises, improvements to the TL parser, custom mb_substr
* Apply fixes from StyleCI
* Bugfixes
* Apply fixes from StyleCI
* Bugfixes, implement combined promises
* Apply fixes from StyleCI
* Support passing method arguments as callable
* Starting to write async upload logic
* Apply fixes from StyleCI
* Start implementing async file upload
* Apply fixes from StyleCI
* bugfix
* Apply fixes from StyleCI
* Start rewriting connection module
* Add PHP file docblocks for all classes
* Start working on new async stream API
* Finish writing stream API
* More stream API fixes
* Apply fixes from StyleCI
* Rewrite DataCenter and Connection modules
* Clean up stream API documentation
* Fixes
* Apply fixes from StyleCI
* Add referenced parameter to get length of buffer to read in getReadBuffer API
* Moved all MessageHandler code in the Connection module, added a PHP version warning in the phar
* Start fixing reads
* Fix all protocol stream wrappers
* Apply fixes from StyleCI
* Implement disconnection, and remove end function
* Working async RPC
* Implement async file upload
* Bugfix
* Method recall bugfixes
* Bugfixes
* Trait bugfixes
* Fix FIFO buffer
* Bugfixes and speedtests
* Async logging
* Implement websocket streams
* Implement loop API, signal API, clean closing and start changing layer
* Small magna, websocket and HTTP fixes
* Clean up loop API
* Improved stack traces, 2FA and async
* Login fixes
* Added instructions for manual verification
* Small fixes
* More app info improvements
* More app info improvements
* TL and 2FA fixes
* Update to layer 89
* More bugfixes
* Implement broken media reporting
* Remove debug comments
* PHP 7.2 backwards compatibility
* Bugfixes
* Async key generation
* Some simplifications
* Transport fixes
* Cleanup
* async API
* Performance fixes
* Fixes to async API
* Bugfixes
* Implement one-time async loop
* Authorization and logging fixes
* Update to layer 91
* 7to5 fix
* Null coalesce conversion
* Implement socks5 proxy
* Implement HTTP proxy
* Fixes to HTTP proxy
* MTProxy and socks5 fixes
* Disable PHP 5 conversion
* Proxies have higher priority
* Avoid error handling in vendor
* Override composer dependencies
* Fix travis build
* Final composer fixes
* Proxy logic fixes
* Fix get_updates update handling
* Do not use parallel file driver if not supported
* Refactor loader and implement HTTP fixes
* Suppress errors in loader
* HTTP and authorization fixes
* HTTP fixes
* Improved peer management
* Use HTTP protocol on altervista
* Small bugfixes
* Minor fixes
* Docufix
* Docufix
* Legacy fixes
* Fix message queue
* Avoid updating if using MTProxy
* Improve logs and examples
* Trim final newlines while converting parse mode
* Reimplement noResponse flag
* Async combined event handler and APIFactory fixes
* Actually return config
* Case-insensitive methods
* Bugfix
* Apply fixes from StyleCI (#545)
* MTProxy fixes
* PHP 5 warning
* Improved PHP 5 warning
* Use <br> along with newlines in web logs
* Update docs
2018-12-26 20:51:14 +01:00
|
|
|
"amphp/amp": "^2.0",
|
2019-08-25 20:55:54 +02:00
|
|
|
"amphp/websocket": "dev-master#db2da8c5b3ed22eae37da5ffa10ab3ea8de19342 as 1",
|
|
|
|
"amphp/websocket-client": "dev-master#aff808025637bd705672338b4904ad03a4dbdc04 as 1",
|
|
|
|
"amphp/socket": "0.10.12 as 1",
|
2019-06-12 18:26:55 +02:00
|
|
|
"amphp/dns": "dev-master#aa1892bdf13b787d759df6f2523e8027a434d927 as v0.9.x-dev",
|
2019-06-12 18:32:15 +02:00
|
|
|
"amphp/artax": "dev-master as 3.0.99",
|
2019-06-12 18:26:55 +02:00
|
|
|
"amphp/file": "^0.3",
|
2019-05-22 17:35:16 +02:00
|
|
|
"amphp/uri": "^0.1.4",
|
2019-06-12 18:26:55 +02:00
|
|
|
"amphp/byte-stream": "^1.6",
|
|
|
|
"danog/dns-over-https": "^0.1"
|
2016-07-15 13:03:36 +02:00
|
|
|
},
|
2017-01-22 17:40:56 +01:00
|
|
|
"require-dev": {
|
2019-09-18 20:46:20 +02:00
|
|
|
"phpdocumentor/reflection-docblock": "^4.3",
|
2019-05-10 13:34:44 +02:00
|
|
|
"ennexa/amp-update-cache": "dev-master",
|
2019-09-02 17:08:36 +02:00
|
|
|
"phpunit/phpunit": "^8",
|
2019-10-29 20:53:51 +01:00
|
|
|
"amphp/php-cs-fixer-config": "dev-master",
|
|
|
|
"haydenpierce/class-finder": "^0.4"
|
2017-01-22 17:40:56 +01:00
|
|
|
},
|
2017-07-24 12:55:17 +02:00
|
|
|
"suggest": {
|
2019-05-14 21:07:25 +02:00
|
|
|
"ext-libtgvoip": "Install the php-libtgvoip extension to make phone calls (https://github.com/danog/php-libtgvoip)"
|
2017-07-24 12:55:17 +02:00
|
|
|
},
|
2019-06-12 18:26:55 +02:00
|
|
|
"authors": [{
|
|
|
|
"name": "Daniil Gentili",
|
|
|
|
"email": "daniil@daniil.it"
|
|
|
|
}],
|
2016-08-07 23:23:10 +02:00
|
|
|
"autoload": {
|
2019-10-29 20:53:51 +01:00
|
|
|
"psr-4": {
|
|
|
|
"danog\\MadelineProto\\": "src/danog/MadelineProto"
|
2017-05-16 15:12:04 +02:00
|
|
|
},
|
|
|
|
"files": [
|
2018-02-18 14:33:17 +01:00
|
|
|
"src/BigIntegor.php",
|
2019-06-18 12:31:44 +02:00
|
|
|
"src/YieldReturnValue.php",
|
2019-06-20 20:21:31 +02:00
|
|
|
"src/ReflectionGenerator.php",
|
2019-06-18 12:31:44 +02:00
|
|
|
"src/polyfill.php"
|
2017-05-16 15:12:04 +02:00
|
|
|
]
|
2019-06-12 18:26:55 +02:00
|
|
|
},
|
|
|
|
"repositories": [
|
|
|
|
{
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/danog/phpseclib"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/danog/dns"
|
|
|
|
}
|
2019-09-02 17:08:36 +02:00
|
|
|
],
|
|
|
|
"scripts": {
|
2019-10-31 15:06:25 +01:00
|
|
|
"build": [
|
|
|
|
"@docs",
|
|
|
|
"@cs-fix"
|
|
|
|
],
|
2019-09-02 17:08:36 +02:00
|
|
|
"check": [
|
|
|
|
"@cs",
|
|
|
|
"@test"
|
|
|
|
],
|
|
|
|
"cs": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix -v --diff --dry-run",
|
|
|
|
"cs-fix": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix -v --diff",
|
2019-10-31 15:06:25 +01:00
|
|
|
"docs": "php tools/build_docs.php",
|
2019-09-02 17:08:36 +02:00
|
|
|
"test": "@php -dzend.assertions=1 -dassert.exception=1 ./vendor/bin/phpunit --coverage-text"
|
|
|
|
}
|
2019-06-12 18:32:15 +02:00
|
|
|
}
|