PHPackages                             shershon/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. shershon/common

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

shershon/common
===============

常用的、基于 psr 的通用组件

v1.0.0(3y ago)091MITPHP

Since Aug 23Pushed 1y agoCompare

[ Source](https://github.com/shershon-php-package/common-component)[ Packagist](https://packagist.org/packages/shershon/common)[ RSS](/packages/shershon-common/feed)WikiDiscussions master Synced yesterday

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

1.常用的通用组件
---------

[](#1常用的通用组件)

常用的通用组件:

- 基于 psr 封装的http通信组件

2.安装
----

[](#2安装)

- 配置composer.json

```
{
  "require-dev": {
    "shershon/common": "^1.0.0"
  },
  "config": {
    "secure-http": false
  },
  "repositories": [
    {
      "type": "git",
      "url": "https://github.com/shershon-php-package/common-component.git"
    }
  ]
}
```

- composer require --ignore-platform-reqs shershon/common
- rm -rf vendor/shershon/common/.git

3.更新包版本
-------

[](#3更新包版本)

- composer require --ignore-platform-reqs shershon/common:1.0.0(替换成指定的版本)
- rm -rf vendor/shershon/common/.git

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity47

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

Unknown

Total

1

Last Release

1410d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/58d8e7e825006e80833c8f3693a2b9a720af2f8af833b7faf3f442adf347207b?d=identicon)[xiaoshan](/maintainers/xiaoshan)

---

Top Contributors

[![shershon1991](https://avatars.githubusercontent.com/u/21358691?v=4)](https://github.com/shershon1991 "shershon1991 (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[civicrm/civicrm-core

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

751291.4k43](/packages/civicrm-civicrm-core)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)

PHPackages © 2026

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