Registry / serialization / google-common-protos

google-common-protos

JSON →
library4.14.1phppackagistunverified

Google API Common Protos for PHP

composer require google/common-protos
INSTALL
IMPORT
SIG · GOOGLE-COMMON-PROT
G
google-common-protos
serializationphpv4.14.1
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.

Timestamp
use Google\Protobuf\Timestamp;

Creates a Protobuf Timestamp and serializes it to JSON.

use Google\Protobuf\Timestamp; $timestamp = new Timestamp(); $timestamp->setSeconds(time()); echo $timestamp->serializeToJsonString();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.14.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
google-common-protos — pip install google-common-protos · libregistry