PHPackages                             sanmai/sdk-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. [API Development](/categories/api)
4. /
5. sanmai/sdk-common

ActiveLibrary[API Development](/categories/api)

sanmai/sdk-common
=================

Common types and contracts for PHP API SDKs

0.5.8(11mo ago)333.9k↑52.4%12MITPHPPHP ^8.2CI passing

Since Oct 3Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/sanmai/sdk-common)[ Packagist](https://packagist.org/packages/sanmai/sdk-common)[ GitHub Sponsors](https://github.com/sanmai)[ RSS](/packages/sanmai-sdk-common/feed)WikiDiscussions main Synced yesterday

READMEChangelog (7)Dependencies (16)Versions (34)Used By (2)

Common classes for API SDKs
===========================

[](#common-classes-for-api-sdks)

[![Latest Stable Version](https://camo.githubusercontent.com/ea4370c9d13e04b32359ca2e311909c68f973ccc3b24aa9cdda0d95b69042df9/68747470733a2f2f706f7365722e707567782e6f72672f73616e6d61692f73646b2d636f6d6d6f6e2f762f737461626c65)](https://packagist.org/packages/sanmai/sdk-common)[![Coverage Status](https://camo.githubusercontent.com/85caf6149e07bdf56f435da8042d46a17b9e21284c5c074825dc34f9b521dc7f/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f73616e6d61692f73646b2d636f6d6d6f6e2f62616467652e7376673f6272616e63683d6d61696e)](https://coveralls.io/github/sanmai/sdk-common?branch=main)

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

[](#installation)

```
composer require sanmai/sdk-common
```

This SDK-for-SDKs requires at least PHP 8.2.

License
-------

[](#license)

This project is licensed [under the terms of the MIT license](LICENSE).

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance69

Regular maintenance activity

Popularity32

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 94.2% 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 ~56 days

Recently: every ~129 days

Total

32

Last Release

345d ago

PHP version history (4 changes)0.1PHP ^7.3 || ^8.0

0.5.4PHP ^7.4 || ^8.0

0.5.5PHP ^8.1

0.5.6PHP ^8.2

### Community

Maintainers

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

---

Top Contributors

[![sanmai](https://avatars.githubusercontent.com/u/139488?v=4)](https://github.com/sanmai "sanmai (439 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (13 commits)")[![jhaoda](https://avatars.githubusercontent.com/u/2151259?v=4)](https://github.com/jhaoda "jhaoda (7 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (3 commits)")[![gtrbunny](https://avatars.githubusercontent.com/u/779284?v=4)](https://github.com/gtrbunny "gtrbunny (1 commits)")[![fossabot](https://avatars.githubusercontent.com/u/29791463?v=4)](https://github.com/fossabot "fossabot (1 commits)")[![greabock](https://avatars.githubusercontent.com/u/7137261?v=4)](https://github.com/greabock "greabock (1 commits)")[![codacy-badger](https://avatars.githubusercontent.com/u/23704769?v=4)](https://github.com/codacy-badger "codacy-badger (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M735](/packages/sylius-sylius)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[oat-sa/tao-core

TAO core extension

66143.7k122](/packages/oat-sa-tao-core)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)

PHPackages © 2026

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