From 6e589c6a15da708a2081b1955170393321327878 Mon Sep 17 00:00:00 2001 From: Stanley Cheung Date: Tue, 16 May 2017 18:09:36 -0700 Subject: PHP: stop requiring google/protobuf PHP implementation --- templates/composer.json.template | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'templates') 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/" -- cgit v1.2.3