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

Installs: 7

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/insectaio/common

v1.0.1 2025-09-03 16:27 UTC

This package is not auto-updated.

Last update: 2026-01-07 18:27:19 UTC


README

Protocol Buffers (Protobuf) shared types used across insectaio gRPC SDKs, including money and metadata types.

Installation

composer require insectaio/common

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

License

MIT