PHPackages                             weihuagu/commonmodel - 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. weihuagu/commonmodel

ArchivedLibrary

weihuagu/commonmodel
====================

common model

v0.1(10y ago)016PHP

Since Feb 28Pushed 10y ago1 watchersCompare

[ Source](https://github.com/WeihuaGu/commonmodel)[ Packagist](https://packagist.org/packages/weihuagu/commonmodel)[ RSS](/packages/weihuagu-commonmodel/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (1)Used By (0)

commonmodel
===========

[](#commonmodel)

\##通用模型

现在新的框架层出不穷，功能实现只需要引用相应的库，这就给了开发者以机会来深入应用的核心——模型。网站的架构设计，传统的做法是三段论，而其中最重要的是业务模型的构建，它又有赖于模型与数据层。并不只是网站架构，其它类型的架构也能从中带来益处。所以这个项目专注于构建最为通用的模型。

安装(Installation)
----------------

[](#安装installation)

```
$ composer install weihuagu/commonmodel

```

或者 `composer.json`:

```
"require": {
	"weihuagu/commonmodel":"*"
}

```

```
$ composer install

```

使用(Usage)
---------

[](#使用usage)

### 1：获得commonmodel容器

[](#1获得commonmodel容器)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

3728d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/47dc57d08d8506ffc3625f746522dca77e4788df246b82b793e0277bc1c7bc3b?d=identicon)[weihuagu](/maintainers/weihuagu)

---

Top Contributors

[![WeihuaGu](https://avatars.githubusercontent.com/u/11705342?v=4)](https://github.com/WeihuaGu "WeihuaGu (28 commits)")

### Embed Badge

![Health badge](/badges/weihuagu-commonmodel/health.svg)

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

###  Alternatives

[kelunik/acme-client

Let's Encrypt / ACME client written in PHP for the CLI.

3933.9k1](/packages/kelunik-acme-client)[honeybee/honeybee

Library for implementing CQRS driven, event-sourced and distributed architectures.

222.1k4](/packages/honeybee-honeybee)

PHPackages © 2026

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