1{ 2 "name": "google/protobuf", 3 "type": "library", 4 "description": "proto library for PHP", 5 "keywords": ["proto"], 6 "homepage": "https://developers.google.com/protocol-buffers/", 7 "license": "BSD-3-Clause", 8 "require": { 9 "php": ">=5.5.0" 10 }, 11 "require-dev": { 12 "phpunit/phpunit": "^5|^4.8.0" 13 }, 14 "autoload": { 15 "psr-4": { 16 "Google\\Protobuf\\": "src/Google/Protobuf", 17 "GPBMetadata\\Google\\Protobuf\\": "src/GPBMetadata/Google/Protobuf" 18 } 19 }, 20 "autoload-dev": { 21 "psr-4": { 22 "": "tests/generated" 23 } 24 }, 25 "scripts": { 26 "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" 27 } 28} 29