mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 07:34:41 +01:00
89 lines
2.9 KiB
JSON
89 lines
2.9 KiB
JSON
{
|
|
"name": "danog/madelineproto",
|
|
"description": "PHP implementation of telegram's MTProto protocol.",
|
|
"type": "project",
|
|
"minimum-stability": "dev",
|
|
"license": "AGPL-3.0-only",
|
|
"homepage": "https://daniil.it/MadelineProto",
|
|
"keywords": ["telegram", "mtproto", "protocol", "bytes", "messenger", "client", "PHP", "video", "stickers", "audio", "files", "GB"],
|
|
"conflict": {
|
|
"krakjoe/pthreads-polyfill": "*"
|
|
},
|
|
"require": {
|
|
"php": ">=7.1.0",
|
|
"danog/primemodule": "^1",
|
|
"danog/magicalserializer": "^1.0",
|
|
"phpseclib/phpseclib": "dev-master#f715b2928976aaef389839a056c947aa8023277b as 2.0.15",
|
|
"vlucas/phpdotenv": "^3",
|
|
"erusev/parsedown": "^1.7",
|
|
"ext-mbstring": "*",
|
|
"ext-json": "*",
|
|
"ext-xml": "*",
|
|
"ext-dom": "*",
|
|
"ext-filter": "*",
|
|
"ext-hash": "*",
|
|
"ext-zlib": "*",
|
|
"ext-fileinfo": "*",
|
|
"amphp/amp": "^2.0",
|
|
"amphp/websocket-client": "dev-master as 1.0.0-rc2",
|
|
"amphp/http-client": "dev-master as 4.0.0-rc11",
|
|
"amphp/socket": "^1",
|
|
"amphp/dns": "dev-master#ecbeca2ae0e93c08e8150a92810a3961fad8ecbe as v1",
|
|
"amphp/file": "^1",
|
|
"amphp/byte-stream": "^1.6",
|
|
"danog/dns-over-https": "^0.2",
|
|
"amphp/http-client-cookies": "dev-master",
|
|
"amphp/uri": "dev-master"
|
|
},
|
|
"require-dev": {
|
|
"phpdocumentor/reflection-docblock": "^4.3",
|
|
"ennexa/amp-update-cache": "dev-master",
|
|
"phpunit/phpunit": "^8",
|
|
"amphp/php-cs-fixer-config": "dev-master",
|
|
"haydenpierce/class-finder": "^0.4",
|
|
"ext-ctype":"*"
|
|
},
|
|
"suggest": {
|
|
"ext-libtgvoip": "Install the php-libtgvoip extension to make phone calls (https://github.com/danog/php-libtgvoip)"
|
|
},
|
|
"authors": [{
|
|
"name": "Daniil Gentili",
|
|
"email": "daniil@daniil.it"
|
|
}],
|
|
"autoload": {
|
|
"psr-4": {
|
|
"danog\\MadelineProto\\": "src/danog/MadelineProto"
|
|
},
|
|
"files": [
|
|
"src/BigIntegor.php",
|
|
"src/YieldReturnValue.php",
|
|
"src/ReflectionGenerator.php",
|
|
"src/polyfill.php"
|
|
]
|
|
},
|
|
"repositories": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/danog/phpseclib"
|
|
},
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/danog/dns"
|
|
}
|
|
],
|
|
"scripts": {
|
|
"build": [
|
|
"@docs",
|
|
"@cs-fix"
|
|
],
|
|
"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",
|
|
"docs": "php tools/build_docs.php",
|
|
"test": "@php -dzend.assertions=1 -dassert.exception=1 ./vendor/bin/phpunit --coverage-text"
|
|
}
|
|
}
|