Registry / networking / google-proto-client

google-proto-client

JSON →
library0.40.0phppackagistunverified

Generated proto and gRPC classes for Google Cloud Platform in PHP.

composer require google/proto-client
INSTALL
IMPORT
SIG · GOOGLE-PROTO-CLIEN
G
google-proto-client
networkingphpv0.40.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ImageAnnotatorClient
use Google\Cloud\Vision\V1\ImageAnnotatorClient;

Detect labels in an image using Google Cloud Vision.

use Google\Cloud\Vision\V1\ImageAnnotatorClient; $client = new ImageAnnotatorClient(); $response = $client->labelDetection('path/to/image.jpg'); $labels = $response->getLabelAnnotations();
Debug
Known issues
gotchaRequires gRPC PHP extension and protobuf extension.
fix
Install grpc and protobuf PHP extensions via pecl or your package manager.
affects: >=0.1.0
Upgrade
Version history
0.40.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
google-proto-client — pip install google-proto-client · libregistry