PHPackages                             lihq1403/sdk-base - 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. lihq1403/sdk-base

ActiveLibrary

lihq1403/sdk-base
=================

作为 SDK 的基础包，提供通用组件能力，允许被替换

1.0.2(1y ago)011.8k↑96.5%MITPHPPHP &gt;=7.4

Since May 23Pushed 1y ago1 watchersCompare

[ Source](https://github.com/lihq1403/sdk-base)[ Packagist](https://packagist.org/packages/lihq1403/sdk-base)[ RSS](/packages/lihq1403-sdk-base/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (8)Versions (5)Used By (0)

 sdk-base
==========

[](#-sdk-base-)

 .

Installing
----------

[](#installing)

```
$ composer require lihq1403/sdk-base -vvv
```

Usage
-----

[](#usage)

作为 sdk 包的基础，提供了可更换的基础能力

- config
- exception
- logger
- cache
- client

Contributing
------------

[](#contributing)

```
$config = [
    'sdk_name' => 'xxx',
    'exception_class' => BusinessException::class,
    'component' => [
        'logger' => new EchoLogger(),
        'cache' => new FileCache(),
        'client' => new GuzzleClient(),
    ],
];

$app = new SdkContainer($config);
```

License
-------

[](#license)

MIT

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 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 ~26 days

Total

4

Last Release

635d ago

Major Versions

0.0.1 → 1.0.02024-06-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/9e0ed12e0a107565d6a1bb00bcd6d6c90a18ec5d1c6d0c7dddeee64b54f96bc4?d=identicon)[lihq1403](/maintainers/lihq1403)

---

Top Contributors

[![lihq1403](https://avatars.githubusercontent.com/u/25847339?v=4)](https://github.com/lihq1403 "lihq1403 (8 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/lihq1403-sdk-base/health.svg)

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M16.9k](/packages/laravel-framework)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k17](/packages/civicrm-civicrm-core)[nutgram/nutgram

The Telegram bot library that doesn't drive you nuts

714214.9k8](/packages/nutgram-nutgram)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M385](/packages/shopware-core)

PHPackages © 2026

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