tg-file-decoder/composer.json
2022-11-16 17:22:45 +01:00

48 lines
1.2 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": ">=8.1"
},
"require-dev": {
"phpunit/phpunit": "^9",
"amphp/php-cs-fixer-config": "dev-master"
},
"autoload": {
"psr-4": {
"danog\\Decoder\\": "src/"
},
"files": [
"src/type.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
}
}
}