TelegramApiServer/composer.json
Daniil Gentili 6ef7a898ab Upstream docker image (#161)
Switch to upstream MadelineProto image
2024-07-14 21:01:42 +02:00

69 lines
1.5 KiB
JSON

{
"name": "xtrime-ru/telegramapiserver",
"description": "Fast, simple, async php telegram client and parser: MadelineProto + Amphp HTTP Server",
"type": "project",
"homepage": "https://tg.i-c-a.su/",
"license": "MIT",
"keywords": [
"telegram",
"mtproto",
"client",
"PHP",
"amphp",
"async",
"daemon",
"coroutine",
"parser",
"micro-service",
"madelineproto"
],
"repositories": [
{
"type": "github",
"url": "https://github.com/xtrime-ru/dns"
}
],
"require": {
"php": "^8.2",
"ext-json": "*",
"ext-mbstring": "*",
"ext-curl": "*",
"amphp/http-server": "^v3",
"amphp/http": "^v2",
"amphp/http-server-router": "^2",
"amphp/http-server-form-parser": "^v2",
"amphp/websocket-server": "^3.0.1",
"amphp/websocket-client": "^v2",
"vlucas/phpdotenv": "^4.3",
"danog/madelineproto": "dev-v8_fix_cleanup",
"amphp/dns": "2.x-dev"
},
"require-dev": {
"amphp/php-cs-fixer-config": "^2.0.1"
},
"suggest": {
"ext-pcntl": "Install pcintl for propper signal handling and healthcheck (enabled in .env)"
},
"minimum-stability": "dev",
"prefer-stable": true,
"authors": [
{
"name": "Alexander Pankratov",
"email": "alexander@i-c-a.su"
}
],
"autoload": {
"psr-4": {
"TelegramApiServer\\": "src/"
}
},
"config": {
"allow-plugins": {
"symfony/thanks": false
}
},
"scripts": {
"cs-fix": "PHP_CS_FIXER_IGNORE_ENV=1 php -d pcre.jit=0 vendor/bin/php-cs-fixer fix -v"
}
}