mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 03:14:39 +01:00
143 lines
4.3 KiB
JSON
143 lines
4.3 KiB
JSON
{
|
|
"name": "danog/madelineproto",
|
|
"description": "PHP implementation of telegram's MTProto protocol.",
|
|
"type": "project",
|
|
"license": "AGPL-3.0-only",
|
|
"homepage": "https://docs.madelineproto.xyz",
|
|
"keywords": [
|
|
"telegram",
|
|
"mtproto",
|
|
"protocol",
|
|
"bytes",
|
|
"messenger",
|
|
"client",
|
|
"PHP",
|
|
"video",
|
|
"stickers",
|
|
"audio",
|
|
"files",
|
|
"GB"
|
|
],
|
|
"conflict": {
|
|
"krakjoe/pthreads-polyfill": "*",
|
|
"ext-pthreads": "*"
|
|
},
|
|
"minimum-stability": "beta",
|
|
"require": {
|
|
"php-64bit": ">=8.1",
|
|
"danog/primemodule": "^1",
|
|
"erusev/parsedown": "^1.7",
|
|
"symfony/polyfill-mbstring": "*",
|
|
"ext-mbstring": "*",
|
|
"ext-json": "*",
|
|
"ext-xml": "*",
|
|
"ext-dom": "*",
|
|
"ext-gmp": "*",
|
|
"ext-filter": "*",
|
|
"ext-hash": "*",
|
|
"ext-zlib": "*",
|
|
"ext-fileinfo": "*",
|
|
"amphp/amp": "^3",
|
|
"amphp/http-client": "^5",
|
|
"amphp/http": "^2",
|
|
"amphp/socket": "^2",
|
|
"amphp/dns": "^2",
|
|
"amphp/byte-stream": "^2",
|
|
"amphp/file": "^3",
|
|
"amphp/mysql": "^3",
|
|
"amphp/postgres": "^2",
|
|
"danog/dns-over-https": "^1",
|
|
"amphp/http-client-cookies": "^2",
|
|
"danog/tg-file-decoder": "^0.1",
|
|
"league/uri": "^6",
|
|
"danog/ipc": "^1",
|
|
"amphp/log": "^2",
|
|
"danog/loop": "^1",
|
|
"phpseclib/phpseclib": "^3",
|
|
"amphp/redis": "^2",
|
|
"amphp/websocket-client": "^2",
|
|
"psr/http-factory": "^1.0",
|
|
"psr/log": "^3",
|
|
"webmozart/assert": "^1.11"
|
|
},
|
|
"require-dev": {
|
|
"phpdocumentor/reflection-docblock": "^5.2",
|
|
"ext-ctype": "*",
|
|
"danog/phpdoc": "^0.1.7",
|
|
"phpunit/phpunit": "^9",
|
|
"amphp/phpunit-util": "^3",
|
|
"bamarni/composer-bin-plugin": "1.8.2",
|
|
"roave/security-advisories": "dev-latest",
|
|
"symfony/yaml": "^6.0",
|
|
"amphp/http-server": "^3",
|
|
"dg/bypass-finals": "dev-master"
|
|
},
|
|
"suggest": {
|
|
"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 or PostgreSQL",
|
|
"ext-openssl": "Install the openssl extension for faster crypto",
|
|
"ext-gmp": "Install the gmp extension for faster crypto"
|
|
},
|
|
"authors": [
|
|
{
|
|
"name": "Daniil Gentili",
|
|
"email": "daniil@daniil.it"
|
|
}
|
|
],
|
|
"autoload": {
|
|
"psr-4": {
|
|
"danog\\MadelineProto\\": "src"
|
|
},
|
|
"files": [
|
|
"src/polyfill.php",
|
|
"src/loop.php"
|
|
]
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"danog\\MadelineProto\\Test\\": "tests/danog/MadelineProto"
|
|
},
|
|
"files": [
|
|
"tools/build_docs/schemas.php",
|
|
"tools/build_docs/merge.php",
|
|
"tools/build_docs/layerUpgrade.php"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"build": [
|
|
"@docs",
|
|
"@docs-fix",
|
|
"@cs-fix",
|
|
"@psalm"
|
|
],
|
|
"check": [
|
|
"@cs",
|
|
"@test"
|
|
],
|
|
"test-php7": "tests/test-conversion.sh 70",
|
|
"test-php56": "tests/test-conversion.sh 5",
|
|
"cs": "PHP_CS_FIXER_IGNORE_ENV=1 php -d pcre.jit=0 vendor/bin/php-cs-fixer fix -v --diff --dry-run",
|
|
"cs-fix": "PHP_CS_FIXER_IGNORE_ENV=1 php -d pcre.jit=0 vendor/bin/php-cs-fixer fix -v --diff",
|
|
"psalm": "psalm",
|
|
"docs": "php tools/build_docs.php",
|
|
"docs-fix": "tools/fix_docs.sh",
|
|
"test": "@php -dzend.assertions=1 -dassert.exception=1 ./vendor/bin/phpunit --coverage-text --config tests/phpunit.xml",
|
|
"bin": "echo 'bin not installed'",
|
|
"post-install-cmd": ["@composer bin all install --ansi"],
|
|
"post-update-cmd": ["@composer bin all update --ansi"]
|
|
},
|
|
"extra": {
|
|
"phabel": {
|
|
"revision": 0
|
|
}
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"bamarni/composer-bin-plugin": true,
|
|
"phabel/phabel": true,
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
}
|
|
}
|
|
}
|