| { |
| "name": "apache/thrift", |
| "description": "Apache Thrift RPC system", |
| "homepage": "http://thrift.apache.org", |
| "type": "library", |
| "keywords": ["RPC"], |
| "license": "Apache-2.0", |
| "readme": "README.md", |
| "authors": [ |
| { |
| "name": "Apache Thrift Developers", |
| "email": "dev@thrift.apache.org", |
| "homepage": "http://thrift.apache.org" |
| } |
| ], |
| "support": { |
| "email": "dev@thrift.apache.org", |
| "issues": "https://issues.apache.org/jira/browse/THRIFT" |
| }, |
| "require": { |
| "php": "^8.1", |
| "psr/log": "^1.0 || ^2.0 || ^3.0", |
| "psr/http-client": "^1.0", |
| "psr/http-factory": "^1.0", |
| "psr/http-message": "^1.0 || ^2.0", |
| "php-http/discovery": "^1.19" |
| }, |
| "require-dev": { |
| "phpunit/phpunit": "^10.5 || ^11.0 || ^12.0 || ^13.0", |
| "squizlabs/php_codesniffer": "^3.10", |
| "php-mock/php-mock-phpunit": "^2.10", |
| "phpstan/phpstan": "^1.12", |
| "nyholm/psr7": "^1.8", |
| "guzzlehttp/guzzle": "^7.8", |
| "ext-json": "*", |
| "ext-xml": "*", |
| "ext-curl": "*", |
| "ext-pcntl": "*" |
| }, |
| "suggest": { |
| "guzzlehttp/guzzle": "PSR-18 HTTP client for TPsrHttpClient; recommended for most users", |
| "symfony/http-client": "Alternative PSR-18 HTTP client with HTTP/2 and async support", |
| "php-http/curl-client": "Lightweight PSR-18 HTTP client built on ext-curl" |
| }, |
| "config": { |
| "allow-plugins": { |
| "php-http/discovery": true |
| } |
| }, |
| "scripts": { |
| "phpstan": "phpstan analyse -c lib/php/phpstan.neon" |
| }, |
| "autoload": { |
| "psr-4": {"Thrift\\": "lib/php/lib/"} |
| }, |
| "autoload-dev": { |
| "psr-4": {"Test\\Thrift\\": "lib/php/test/"} |
| }, |
| "minimum-stability": "stable", |
| "extra": { |
| "branch-alias": { |
| "dev-master": "1.0.x-dev" |
| } |
| }, |
| "archive": { |
| "exclude": [ |
| "*", |
| ".*", |
| "!/CHANGES.md", |
| "!/LICENSE", |
| "!/NOTICE", |
| "!/README.md", |
| "!/composer.json", |
| "!/lib/php/README.apache.md", |
| "!/lib/php/README.md", |
| "!/lib/php/lib" |
| ] |
| } |
| } |