Skip to content

Commit

Permalink
Add protobuf and grpc recommendations which I missed before (#815)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdpedrie authored Dec 22, 2017
1 parent 7115ca0 commit ed7b7c0
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Dataproc/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,8 @@
"ext-grpc": "*",
"google/proto-client": "^0.29.0",
"google/gax": "^0.28.0"
},
"suggest": {
"ext-protobuf": "Provides a significant increase in throughput over the pure PHP protobuf implementation. See https://cloud.google.com/php/grpc for installation instructions."
}
}
3 changes: 3 additions & 0 deletions src/OsLogin/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,8 @@
"ext-grpc": "*",
"google/proto-client": "^0.29.0",
"google/gax": "^0.28.0"
},
"suggest": {
"ext-protobuf": "Provides a significant increase in throughput over the pure PHP protobuf implementation. See https://cloud.google.com/php/grpc for installation instructions."
}
}
4 changes: 4 additions & 0 deletions src/Trace/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
support requests, bug reports, or development contributions should be directed to
that project.

Use of the included generated clients requires installation of the gRPC PHP extension. For instructions, [see here](https://cloud.google.com/php/grpc).

NOTE: In addition to the gRPC extension, we recommend installing the protobuf extension for improved performance. For installation instructions, [see here](https://cloud.google.com/php/grpc#install_the_protobuf_runtime_library).

## Installation

Install with `composer` or add to your `composer.json`.
Expand Down
2 changes: 2 additions & 0 deletions src/Trace/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
"google/proto-client": "^0.29.0"
},
"suggest": {
"ext-grpc": "The gRPC extension enables use of the performant gRPC transport",
"ext-protobuf": "Provides a significant increase in throughput over the pure PHP protobuf implementation. See https://cloud.google.com/php/grpc for installation instructions.",
"cache/apcu-adapter": "Enable QpsSampler to use apcu cache.",
"cache/apc-adapter": "Enable QpsSampler to use apc cache.",
"cache/memcached-adapter": "Enable QpsSampler to use memcached cache."
Expand Down
2 changes: 2 additions & 0 deletions src/Vision/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
"google/gax": "^0.28"
},
"suggest": {
"ext-grpc": "The gRPC extension enables use of the performant gRPC transport",
"ext-protobuf": "Provides a significant increase in throughput over the pure PHP protobuf implementation. See https://cloud.google.com/php/grpc for installation instructions.",
"google/cloud-storage": "Annotate images stored in Google Cloud Storage"
},
"extra": {
Expand Down

0 comments on commit ed7b7c0

Please sign in to comment.