tg-file-decoder/composer.json
2024-04-01 17:43:56 +02:00

49 lines
1.3 KiB
JSON

{
"name": "danog/tg-file-decoder",
"description": "Decode Telegram bot API file IDs",
"type": "project",
"license": "AGPL-3.0-only",
"keywords": ["telegram", "mtproto", "bot API", "file ID", "video", "stickers", "audio", "files"],
"authors": [
{
"name": "Daniil Gentili",
"email": "daniil@daniil.it"
}
],
"require": {
"php-64bit": ">=8.2.17"
},
"require-dev": {
"phpunit/phpunit": "^11",
"amphp/php-cs-fixer-config": "^2",
"vimeo/psalm": "dev-master"
},
"autoload": {
"psr-4": {
"danog\\Decoder\\": "src/"
},
"files": [
"src/functions.php"
]
},
"autoload-dev": {
"psr-4": {
"danog\\Decoder\\Test\\": "tests"
}
},
"scripts": {
"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",
"test": "@php -dzend.assertions=1 -dassert.exception=1 ./vendor/bin/phpunit --coverage-text --configuration phpunit.xml.dist"
},
"config": {
"allow-plugins": {
"phabel/phabel": true
}
}
}