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 1mo ago

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

24

—

LowBetter than 32% of packages

Maintenance28

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

1363d 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

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/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.9k20](/packages/civicrm-civicrm-core)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[windwalker/framework

The next generation PHP framework.

25639.1k1](/packages/windwalker-framework)

PHPackages © 2026

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