Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.3 KiB
40 lines
1.3 KiB
{ |
|
"name": "google/protobuf", |
|
"type": "library", |
|
"description": "proto library for PHP", |
|
"keywords": ["proto"], |
|
"homepage": "https://developers.google.com/protocol-buffers/", |
|
"license": "BSD-3-Clause", |
|
"require": { |
|
"php": ">=8.0.0" |
|
}, |
|
"provide": { |
|
"ext-protobuf": "*" |
|
}, |
|
"require-dev": { |
|
"phpunit/phpunit": ">=5.0.0 <8.5.27" |
|
}, |
|
"autoload": { |
|
"psr-4": { |
|
"Google\\Protobuf\\": "src/Google/Protobuf", |
|
"GPBMetadata\\Google\\Protobuf\\": "src/GPBMetadata/Google/Protobuf" |
|
} |
|
}, |
|
"autoload-dev": { |
|
"psr-4": { |
|
"": "tmp" |
|
}, |
|
"classmap": [ |
|
"tests/generated_previous" |
|
] |
|
}, |
|
"scripts": { |
|
"test_c": "./generate_test_protos.sh && ./tests/compile_extension.sh && php -dextension=ext/google/protobuf/modules/protobuf.so vendor/bin/phpunit --bootstrap tests/force_c_ext.php tests", |
|
"test_valgrind": "./generate_test_protos.sh && ./tests/compile_extension.sh && ZEND_DONT_UNLOAD_MODULES=1 USE_ZEND_ALLOC=0 valgrind --leak-check=full --error-exitcode=1 php -dextension=ext/google/protobuf/modules/protobuf.so vendor/bin/phpunit --bootstrap tests/force_c_ext.php tests", |
|
"test": "./generate_test_protos.sh && vendor/bin/phpunit tests", |
|
"aggregate_metadata_test": "./generate_test_protos.sh --aggregate_metadata && vendor/bin/phpunit tests" |
|
}, |
|
"config": { |
|
"process-timeout": 1200 |
|
} |
|
}
|
|
|