aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
authorGravatar Stanley Cheung <stanleycheung@google.com>2017-05-16 18:09:36 -0700
committerGravatar Stanley Cheung <stanleycheung@google.com>2017-05-16 18:09:36 -0700
commit6e589c6a15da708a2081b1955170393321327878 (patch)
tree1d9a8220439d3b24d7113146f363e5eb28ef376f /templates
parentbcb65f0bd533ff0c7babf3b06a424d2bd5f1d37d (diff)
PHP: stop requiring google/protobuf PHP implementation
Diffstat (limited to 'templates')
-rw-r--r--templates/composer.json.template7
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/composer.json.template b/templates/composer.json.template
index 2d4cb11919..a18624db46 100644
--- a/templates/composer.json.template
+++ b/templates/composer.json.template
@@ -8,12 +8,15 @@
"homepage": "http://grpc.io",
"license": "BSD-3-Clause",
"require": {
- "php": ">=5.5.0",
- "google/protobuf": "^v3.3.0"
+ "php": ">=5.5.0"
},
"require-dev": {
"google/auth": "v0.9"
},
+ "suggest": {
+ "ext-protobuf": "For better performance, install the protobuf C extension.",
+ "google/protobuf": "To get started using grpc quickly, install the native protobuf library."
+ },
"autoload": {
"psr-4": {
"Grpc\\": "src/php/lib/Grpc/"