-
-
Notifications
You must be signed in to change notification settings - Fork 663
/
composer.json
145 lines (145 loc) · 4.67 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"name": "danog/madelineproto",
"description": "Async PHP client API for the telegram MTProto protocol.",
"type": "library",
"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": "*"
},
"require": {
"php-64bit": ">=8.3",
"danog/primemodule": "^1.0.13",
"symfony/polyfill-mbstring": "*",
"ext-json": "*",
"ext-xml": "*",
"ext-dom": "*",
"ext-filter": "*",
"ext-hash": "*",
"ext-zlib": "*",
"ext-fileinfo": "*",
"amphp/amp": "^3.0.2",
"amphp/http-client": "^5.1.0",
"amphp/websocket-client": "^2",
"amphp/http": "^2.1.2",
"amphp/socket": "^2.3.1",
"amphp/dns": "^2.2.0",
"amphp/byte-stream": "^2.1.1",
"amphp/file": "^3.1.1",
"amphp/mysql": "^3",
"amphp/postgres": "^2.1.1",
"danog/dns-over-https": "^1",
"amphp/http-client-cookies": "^2",
"danog/tg-file-decoder": "^1.0.1",
"league/uri": "^7.4.1",
"danog/ipc": "^1",
"amphp/log": "^2",
"danog/loop": "^1.1.1",
"phpseclib/phpseclib": "^3.0.42",
"amphp/redis": "^2.0.1",
"psr/http-factory": "^1.1.0",
"psr/log": "^3.0.2",
"webmozart/assert": "^1.11",
"bacon/bacon-qr-code": "^3.0.1",
"nikic/php-parser": "^5.3.1",
"revolt/event-loop": "^1.0.6",
"danog/async-orm": "^1.1.0",
"danog/telegram-entities": "^1.0.4",
"danog/better-prometheus": "^0.1.1",
"amphp/http-server": "^3.3.1",
"danog/tg-dialog-id": "^1.1.0"
},
"require-dev": {
"ext-ctype": "*",
"danog/phpdoc": "^0.1.24",
"phpunit/phpunit": "^9.6.21",
"amphp/phpunit-util": "^3",
"bamarni/composer-bin-plugin": "1.8.2",
"symfony/yaml": "^6.4.13",
"revolt/event-loop-adapter-react": "^1.1.1",
"dg/bypass-finals": "dev-master",
"brianium/paratest": "^6.11.1",
"vimeo/psalm": "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",
"ext-openssl": "Install the openssl extension for faster crypto",
"ext-uv": "Install the uv extension to greatly speed up MadelineProto!",
"ext-gmp": "Install the gmp extension to speed up authorization",
"ext-bcmath": "Install the bcmath extension to speed up authorization"
},
"authors": [
{
"name": "Daniil Gentili",
"email": "daniil@daniil.it"
}
],
"autoload": {
"psr-4": {
"danog\\MadelineProto\\": "src"
},
"files": [
"src/polyfill.php"
]
},
"autoload-dev": {
"psr-4": {
"danog\\MadelineProto\\Test\\": "tests/danog/MadelineProto",
"danog\\MadelineProto\\": "tools/"
},
"files": [
"tools/build_docs/schemas.php",
"tools/build_docs/merge.php",
"tools/build_docs/layerUpgrade.php"
]
},
"scripts": {
"build": [
"@docs",
"@docs-fix",
"@cs-fix",
"@psalm",
"@test-light"
],
"test": [
"@paratest"
],
"test-light": [
"@paratest-light"
],
"cs-fix": "PHP_CS_FIXER_IGNORE_ENV=1 php -d pcre.jit=0 vendor/bin/php-cs-fixer fix -v",
"psalm": "psalm --no-cache --threads=10",
"docs": "php tools/build_docs.php",
"docs-fix": "tools/fix_docs.sh",
"paratest": "@php -dzend.assertions=1 ./vendor/bin/paratest -fv",
"paratest-light": "@php -dzend.assertions=1 ./vendor/bin/paratest -fvc phpunit-light.xml",
"bin": "echo 'bin not installed'",
"post-install-cmd": ["@composer bin all install --ansi"],
"post-update-cmd": ["@composer bin all update --ansi"]
},
"config": {
"allow-plugins": {
"bamarni/composer-bin-plugin": true,
"phabel/phabel": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"symfony/thanks": true
}
}
}