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": {
|
|
|
|
"php": ">=5.5.0"
|
|
|
|
},
|
|
|
|
"require-dev": {
|
2018-07-23 20:33:23 +00:00
|
|
|
"phpunit/phpunit": "^5|^4.8.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": {
|
2017-03-17 18:08:06 +00:00
|
|
|
"": "tests/generated"
|
2017-06-14 22:57:11 +00:00
|
|
|
}
|
2018-07-23 20:33:23 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
2018-10-07 23:56:41 +00:00
|
|
|
"test": "(cd tests && rm -rf generated && mkdir -p generated && ../../src/protoc --php_out=generated -I../../src -I. proto/empty/echo.proto proto/test.proto proto/test_include.proto proto/test_no_namespace.proto proto/test_prefix.proto proto/test_php_namespace.proto proto/test_empty_php_namespace.proto proto/test_reserved_enum_lower.proto proto/test_reserved_enum_upper.proto proto/test_reserved_enum_value_lower.proto proto/test_reserved_enum_value_upper.proto proto/test_reserved_message_lower.proto proto/test_reserved_message_upper.proto proto/test_service.proto proto/test_service_namespace.proto proto/test_wrapper_type_setters.proto proto/test_descriptors.proto) && (cd ../src && ./protoc --php_out=../php/tests/generated -I../php/tests -I. ../php/tests/proto/test_import_descriptor_proto.proto) && vendor/bin/phpunit"
|
2016-12-08 19:16:49 +00:00
|
|
|
}
|
|
|
|
}
|