PHPackages                             insectaio/common - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. insectaio/common

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

insectaio/common
================

Shared protocol buffer types used by insectaio SDKs

v1.0.1(10mo ago)0641

Since Jul 26Pushed 5mo agoCompare

[ Source](https://github.com/insectaio/common-php)[ Packagist](https://packagist.org/packages/insectaio/common)[ RSS](/packages/insectaio-common/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (3)Used By (1)

insectaio/common
================

[](#insectaiocommon)

[![Latest Version](https://camo.githubusercontent.com/bff802c06bc4963603adc07a09b2d11b36b1d88ca8619725cfbc8f7949e067a3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696e7365637461696f2f636f6d6d6f6e2e737667)](https://packagist.org/packages/insectaio/common)[![Total Downloads](https://camo.githubusercontent.com/4b9a6726cd22652137d11687419d9dcb627fc2166bb461eeb4affd31774fd5cc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696e7365637461696f2f636f6d6d6f6e2e737667)](https://packagist.org/packages/insectaio/common)

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

**Latest version: v1.0.1**

Installation
------------

[](#installation)

```
composer require insectaio/common:^1.0
```

Usage
-----

[](#usage)

This package provides generated PHP classes from [buf.build/insecta/common](https://buf.build/insecta/common).

```
use Insecta\Common\Money;

$price = new Money();
$price->setCurrencyCode('USD');
$price->setUnits(25);
$price->setNanos(990000000);
```

Autoload
--------

[](#autoload)

```
{
  "autoload": {
    "psr-4": {
      "Insecta\\Common\\": "generated/common_php/Insecta/Common/",
      "GPBMetadata\\": "generated/common_php/GPBMetadata/"
    }
  }
}
```

Requirements
------------

[](#requirements)

- PHP 8.0+
- [google/protobuf](https://github.com/protocolbuffers/protobuf) `^4.31`
- [grpc/grpc](https://github.com/grpc/grpc) `^1.57`

---

### License

[](#license)

MIT

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance65

Regular maintenance activity

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~39 days

Total

2

Last Release

303d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e07aaf433dd253125258863b855c66d34db470f5e81cb53d4990f28e6de5ae1f?d=identicon)[RamiHegazi](/maintainers/RamiHegazi)

---

Top Contributors

[![cogtea](https://avatars.githubusercontent.com/u/58473565?v=4)](https://github.com/cogtea "cogtea (3 commits)")

### Embed Badge

![Health badge](/badges/insectaio-common/health.svg)

```
[![Health](https://phpackages.com/badges/insectaio-common/health.svg)](https://phpackages.com/packages/insectaio-common)
```

###  Alternatives

[google/gax

Google API Core for PHP

267116.3M567](/packages/google-gax)[googleads/google-ads-php

Google Ads API client for PHP

3508.5M12](/packages/googleads-google-ads-php)[clarifai/clarifai-php-grpc

Clarifai PHP gRPC client

1229.6k](/packages/clarifai-clarifai-php-grpc)[temporal/sdk

Temporal SDK

4072.9M25](/packages/temporal-sdk)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[metaseller/tinkoff-invest-api-v2-php

Unofficial PHP SDK for T-Invest API v2

256.8k3](/packages/metaseller-tinkoff-invest-api-v2-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
