1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-26 21:34:41 +01:00
MadelineProto/composer.json

146 lines
4.7 KiB
JSON
Raw Normal View History

2016-07-15 13:03:36 +02:00
{
"name": "danog/madelineproto",
2024-05-01 13:57:50 +02:00
"description": "Async PHP client API for the telegram MTProto protocol.",
2024-05-06 17:32:38 +02:00
"type": "library",
"license": "AGPL-3.0-only",
2019-12-26 20:26:27 +01:00
"homepage": "https://docs.madelineproto.xyz",
2021-08-16 18:34:47 +02:00
"keywords": [
"telegram",
"mtproto",
"protocol",
"bytes",
"messenger",
"client",
"PHP",
"video",
"stickers",
"audio",
"files",
"GB"
],
"conflict": {
"krakjoe/pthreads-polyfill": "*",
"ext-pthreads": "*"
},
2016-07-15 13:03:36 +02:00
"require": {
"php-64bit": ">=8.2",
2024-04-08 15:34:04 +02:00
"danog/primemodule": "^1.0.13",
"symfony/polyfill-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-12-13 12:57:47 +01:00
"ext-dom": "*",
"ext-filter": "*",
"ext-hash": "*",
"ext-zlib": "*",
2019-06-07 17:21:43 +02:00
"ext-fileinfo": "*",
2024-05-11 11:58:30 +02:00
"amphp/amp": "^3.0.2",
2024-05-10 14:26:50 +02:00
"amphp/http-client": "^5.1.0",
2024-03-10 19:43:10 +01:00
"amphp/websocket-client": "^2",
2024-04-08 15:34:04 +02:00
"amphp/http": "^2.1.1",
2024-05-10 14:26:50 +02:00
"amphp/socket": "^2.3.1",
2024-08-18 13:01:56 +02:00
"amphp/dns": "^2.2.0",
2024-04-08 15:34:04 +02:00
"amphp/byte-stream": "^2.1.1",
2024-08-18 13:01:56 +02:00
"amphp/file": "^3.1.1",
2022-12-30 21:43:58 +01:00
"amphp/mysql": "^3",
"amphp/postgres": "^2",
"danog/dns-over-https": "^1",
"amphp/http-client-cookies": "^2",
2024-05-10 14:26:50 +02:00
"danog/tg-file-decoder": "^1.0.1",
2024-04-08 15:34:04 +02:00
"league/uri": "^7.4.1",
2022-12-30 21:43:58 +01:00
"danog/ipc": "^1",
"amphp/log": "^2",
2024-04-08 15:34:04 +02:00
"danog/loop": "^1.1.1",
2024-08-18 13:01:56 +02:00
"phpseclib/phpseclib": "^3.0.41",
"amphp/redis": "^2.0.1",
2024-05-10 14:26:50 +02:00
"psr/http-factory": "^1.1.0",
2022-12-30 19:21:36 +01:00
"psr/log": "^3",
"webmozart/assert": "^1.11",
2024-05-11 11:58:30 +02:00
"bacon/bacon-qr-code": "^3",
2024-08-18 13:01:56 +02:00
"nikic/php-parser": "^5.1.0",
2024-04-08 15:34:04 +02:00
"revolt/event-loop": "^1.0.6",
"danog/async-orm": "^1.0.2",
2024-05-10 14:26:50 +02:00
"danog/telegram-entities": "^1.0.4",
"danog/better-prometheus": "^0.1.1",
2024-05-15 22:46:15 +02:00
"amphp/http-server": "^3.3.1",
2024-08-18 13:01:56 +02:00
"danog/tg-dialog-id": "^1.1.0"
2016-07-15 13:03:36 +02:00
},
"require-dev": {
2019-12-26 19:17:31 +01:00
"ext-ctype": "*",
2024-04-08 15:34:04 +02:00
"danog/phpdoc": "^0.1.24",
2024-08-18 13:01:56 +02:00
"phpunit/phpunit": "^9.6.20",
2023-01-15 13:07:48 +01:00
"amphp/phpunit-util": "^3",
"bamarni/composer-bin-plugin": "1.8.2",
2024-08-18 13:01:56 +02:00
"symfony/yaml": "^6.4.8",
2024-04-08 15:34:04 +02:00
"revolt/event-loop-adapter-react": "^1.1.1",
2023-11-30 17:51:55 +01:00
"dg/bypass-finals": "dev-master",
2024-04-15 21:53:01 +02:00
"brianium/paratest": "^6.11.1",
"vimeo/psalm": "dev-master"
},
2017-07-24 12:55:17 +02:00
"suggest": {
2022-06-04 16:51:23 +02:00
"ext-primemodule": "Install the primemodule and FFI extensions to speed up MadelineProto (https://prime.madelineproto.xyz)",
"ext-ffi": "Install the primemodule and FFI extensions to speed up MadelineProto (https://prime.madelineproto.xyz)",
"ext-pdo": "Install the pdo extension to store session data on MySQL",
2023-06-24 18:00:19 +02:00
"ext-openssl": "Install the openssl extension for faster crypto",
2023-08-06 00:06:25 +02:00
"ext-uv": "Install the uv extension to greatly speed up MadelineProto!",
2023-09-16 17:23:03 +02:00
"ext-gmp": "Install the gmp extension to speed up authorization",
"ext-bcmath": "Install the bcmath extension to speed up authorization"
2017-07-24 12:55:17 +02:00
},
2021-08-16 18:34:47 +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": {
2023-01-27 14:20:47 +01:00
"danog\\MadelineProto\\": "src"
},
"files": [
"src/polyfill.php"
]
},
2020-02-04 21:46:38 +01:00
"autoload-dev": {
"psr-4": {
2023-12-24 15:15:09 +01:00
"danog\\MadelineProto\\Test\\": "tests/danog/MadelineProto",
"danog\\MadelineProto\\": "tools/"
2020-06-16 17:52:55 +02:00
},
"files": [
"tools/build_docs/schemas.php",
"tools/build_docs/merge.php",
"tools/build_docs/layerUpgrade.php"
]
2020-02-04 21:46:38 +01:00
},
2019-09-02 17:08:36 +02:00
"scripts": {
2019-10-31 15:06:25 +01:00
"build": [
"@docs",
2022-10-08 14:10:04 +02:00
"@docs-fix",
2023-11-30 17:44:10 +01:00
"@cs-fix",
2023-11-30 20:20:41 +01:00
"@psalm",
"@test-light"
2019-09-02 17:08:36 +02:00
],
2023-11-30 17:51:55 +01:00
"test": [
2023-11-30 18:19:12 +01:00
"@paratest"
2023-11-30 17:58:48 +01:00
],
"test-light": [
"@paratest-light"
2023-11-30 17:51:55 +01:00
],
2023-09-01 17:14:30 +02:00
"cs-fix": "PHP_CS_FIXER_IGNORE_ENV=1 php -d pcre.jit=0 vendor/bin/php-cs-fixer fix -v",
2023-09-01 17:27:59 +02:00
"psalm": "psalm --no-cache --threads=10",
2019-10-31 15:06:25 +01:00
"docs": "php tools/build_docs.php",
2022-10-08 14:10:04 +02:00
"docs-fix": "tools/fix_docs.sh",
2023-11-30 18:19:12 +01:00
"paratest": "@php -dzend.assertions=1 ./vendor/bin/paratest -fv",
"paratest-light": "@php -dzend.assertions=1 ./vendor/bin/paratest -fvc phpunit-light.xml",
2021-09-15 17:10:38 +02:00
"bin": "echo 'bin not installed'",
"post-install-cmd": ["@composer bin all install --ansi"],
"post-update-cmd": ["@composer bin all update --ansi"]
2021-08-16 18:34:47 +02:00
},
2022-04-29 21:01:04 +02:00
"config": {
"allow-plugins": {
"bamarni/composer-bin-plugin": true,
2022-12-30 19:21:36 +01:00
"phabel/phabel": true,
2024-04-06 13:08:41 +02:00
"dealerdirect/phpcodesniffer-composer-installer": true,
"symfony/thanks": true
2022-04-29 21:01:04 +02:00
}
2019-09-02 17:08:36 +02:00
}
2020-10-18 15:02:37 +02:00
}