2016-12-08 19:16:49 +00:00
|
|
|
{
|
|
|
|
"name": "google/protobuf",
|
|
|
|
"type": "library",
|
|
|
|
"description": "proto library for PHP",
|
|
|
|
"keywords": ["proto"],
|
|
|
|
"homepage": "https://developers.google.com/protocol-buffers/",
|
|
|
|
"license": "BSD-3-Clause",
|
|
|
|
"require": {
|
2022-01-10 00:28:45 +00:00
|
|
|
"php": ">=7.1.0",
|
|
|
|
"ext-bcmath": "*"
|
2016-12-08 19:16:49 +00:00
|
|
|
},
|
|
|
|
"require-dev": {
|
2021-02-04 17:50:28 +00:00
|
|
|
"phpunit/phpunit": ">=5.0.0"
|
2016-12-08 19:16:49 +00:00
|
|
|
},
|
|
|
|
"autoload": {
|
|
|
|
"psr-4": {
|
2017-08-04 23:35:22 +00:00
|
|
|
"Google\\Protobuf\\": "src/Google/Protobuf",
|
2018-07-23 20:33:23 +00:00
|
|
|
"GPBMetadata\\Google\\Protobuf\\": "src/GPBMetadata/Google/Protobuf"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"autoload-dev": {
|
|
|
|
"psr-4": {
|
2021-05-04 17:19:22 +00:00
|
|
|
"": "tmp"
|
2017-06-14 22:57:11 +00:00
|
|
|
}
|
2018-07-23 20:33:23 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
2021-05-04 17:19:22 +00:00
|
|
|
"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",
|
2021-05-14 06:16:49 +00:00
|
|
|
"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",
|
2021-05-04 17:19:22 +00:00
|
|
|
"test": "./generate_test_protos.sh && vendor/bin/phpunit tests",
|
|
|
|
"aggregate_metadata_test": "./generate_test_protos.sh --aggregate_metadata && vendor/bin/phpunit tests"
|
2016-12-08 19:16:49 +00:00
|
|
|
}
|
|
|
|
}
|