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. sanmai/sdk-common

ActiveLibrary

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

Common types and contracts for PHP API SDKs

0.5.8(9mo ago)331.5k—8.3%1[1 PRs](https://github.com/sanmai/sdk-common/pulls)2MITPHPPHP ^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 1mo ago

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 96% 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.4% 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

299d 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 (438 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (12 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

[sylius/sylius

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

8.4k5.6M651](/packages/sylius-sylius)[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[google/cloud

Google Cloud Client Library

1.2k16.2M53](/packages/google-cloud)[google/cloud-core

Google Cloud PHP shared dependency, providing functionality useful to all components.

343121.4M79](/packages/google-cloud-core)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[stechstudio/laravel-zipstream

A fast and simple streaming zip file downloader for Laravel.

4633.7M3](/packages/stechstudio-laravel-zipstream)

PHPackages © 2026

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