insectaio / common
There is no license information available for the latest version (v1.0.1) of this package.
Shared protocol buffer types used by insectaio SDKs
v1.0.1
2025-09-03 16:27 UTC
Requires
- google/protobuf: ^4.31
- grpc/grpc: ^1.57
This package is not auto-updated.
Last update: 2026-04-01 19:36:13 UTC
README
Protocol Buffers (Protobuf) shared types used across insectaio gRPC SDKs, including money and metadata types.
Latest version: v1.0.1
Installation
composer require insectaio/common:^1.0
Usage
This package provides generated PHP classes from buf.build/insecta/common.
use Insecta\Common\Money; $price = new Money(); $price->setCurrencyCode('USD'); $price->setUnits(25); $price->setNanos(990000000);
Autoload
{
"autoload": {
"psr-4": {
"Insecta\\Common\\": "generated/common_php/Insecta/Common/",
"GPBMetadata\\": "generated/common_php/GPBMetadata/"
}
}
}
Requirements
- PHP 8.0+
- google/protobuf
^4.31 - grpc/grpc
^1.57
License
MIT