PHPackages                             clovers/clover - 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. [Framework](/categories/framework)
4. /
5. clovers/clover

ActiveProject[Framework](/categories/framework)

clovers/clover
==============

Clover - 为速度而生的 PHP 框架

3.0.0(6y ago)3171[1 PRs](https://github.com/donghaichen/clover/pulls)MITTSQLPHP ^7.2.5

Since Feb 13Pushed 5y ago1 watchersCompare

[ Source](https://github.com/donghaichen/clover)[ Packagist](https://packagist.org/packages/clovers/clover)[ Docs](http://doc.mengniang.tv/clover/1268895)[ RSS](/packages/clovers-clover/feed)WikiDiscussions master Synced 4d ago

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

[![](https://camo.githubusercontent.com/a7ee3f2c64393bd34fc63a4a9880b911d597d9b0ee1e48b6fc0d2b29f2ae19e2/68747470733a2f2f7265732e636c6f7564696e6172792e636f6d2f636c6f7665722d636d732f696d6167652f75706c6f61642f76313536373935373632302f636c6f7665725f706c6a7763352e706e67)](https://camo.githubusercontent.com/a7ee3f2c64393bd34fc63a4a9880b911d597d9b0ee1e48b6fc0d2b29f2ae19e2/68747470733a2f2f7265732e636c6f7564696e6172792e636f6d2f636c6f7665722d636d732f696d6167652f75706c6f61642f76313536373935373632302f636c6f7665725f706c6a7763352e706e67)

[![Build Status](https://camo.githubusercontent.com/8a9be37617761b70b4a3d436b898cfdeac4b34c45fd5b6aa4de3c57918bf32d9/68747470733a2f2f7472617669732d63692e6f72672f646f6e676861696368656e2f636c6f7665722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/donghaichen/clover)[![Total Downloads](https://camo.githubusercontent.com/3b334cca4fad48af3828b81a65f7be2ed2291127a4c0220fe470b57244f17269/68747470733a2f2f706f7365722e707567782e6f72672f636c6f766572732f636c6f7665722f646f776e6c6f616473)](https://packagist.org/packages/clovers/clover)[![Latest Stable Version](https://camo.githubusercontent.com/fbbb8eeb49bc03f13e9f45433ce950e609b453a82a62ebea80e60d887418a219/68747470733a2f2f706f7365722e707567782e6f72672f636c6f766572732f636c6f7665722f762f737461626c65)](https://packagist.org/packages/clovers/clover)[![Latest Unstable Version](https://camo.githubusercontent.com/22c8c89f18bba0a42c925f0f120f5ae8e988079d4bc5505b941001e45949d70c/68747470733a2f2f706f7365722e707567782e6f72672f636c6f766572732f636c6f7665722f762f756e737461626c65)](https://packagist.org/packages/clovers/clover)[![composer.lock](https://camo.githubusercontent.com/da2e1425932f1daddf9e663b8da279979a7878adc3face63e69cabe48edda78a/68747470733a2f2f706f7365722e707567782e6f72672f636c6f766572732f636c6f7665722f636f6d706f7365726c6f636b)](https://packagist.org/packages/clovers/clover)[![License](https://camo.githubusercontent.com/271fa9ee40862c0e0f12430383758ba8693ea67df022c4d942f02e664639c725/68747470733a2f2f706f7365722e707567782e6f72672f636c6f766572732f636c6f7665722f6c6963656e7365)](https://packagist.org/packages/clovers/clover)

认识 Clover
---------

[](#认识-clover)

```
 为速度而生的 PHP 框架

 专注于 API 开发

```

#### 特性

[](#特性)

1. 系统响应更快
2. 代码精简
3. 采用PHP7强类型（严格模式）
4. 支持更多的PSR规范
5. 对IDE更加友好

开始 Clover 之旅
------------

[](#开始-clover-之旅)

> 运行环境要求 PHP 7.1 +

```
# 安装最新稳定版
composer create-project clovers/clover --prefer-dist
# 安装最新开发版
composer create-project clovers/clover=dev-master --prefer-dist
# 运行项目
cd clover && composer start
```

or

```
git clone https://github.com/donghaichen/clover.git
cd clover
composer intall
php -S 127.0.0.1:8888 -t public
```

### 目录结构

[](#目录结构)

```
	├── app				应用目录
	│   ├── Controllers		控制器
	│   ├── helpers.php		帮助函数
	│   ├── Log.php			Log 类
	│   ├── Models			Model 类
	│   └── Mysql.php		Sql 类
	├── app.php			应用初始化
	├── cache			应用缓存
	├── composer.json		composer 定义
	├── composer.lock		锁定 composer 依赖
	├── config			配置目录
	│   ├── app.php			APP 配置
	│   ├── database.php		数据库配置
	│   ├── log.php			日志配置
	│   └── routes.php		路由配置
	├── public			WEB目录（对外访问目录）
	│   ├── favicon.ico		favicon
	│   ├── index.php		入口文件
	│   ├── robots.txt		robots 协议
	│   └── static			静态资源
	└── README.md			README
```

更多教程请移步 Clover 官方文档：

贡献代码
----

[](#贡献代码)

登录 Github 或 Coding，fork 本项目，我们一起为 API 开发贡献更多艺术。

开源协议
----

[](#开源协议)

本项目基于[MIT](https://opensource.org/licenses/MIT) 协议，请自由地享受和参与开源

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Total

3

Last Release

2206d ago

Major Versions

v1.0.0 → 2.0.02019-09-08

2.0.0 → 3.0.02020-04-30

PHP version history (3 changes)v1.0.0PHP &gt;=7.0.3

2.0.0PHP &gt;=7.1.0

3.0.0PHP ^7.2.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/a09cedfafdab55b27cd29b1164251ee4cf891d3599fa3aee15558bd91c761fa3?d=identicon)[donghaichen](/maintainers/donghaichen)

---

Top Contributors

[![donghaichen](https://avatars.githubusercontent.com/u/6999958?v=4)](https://github.com/donghaichen "donghaichen (36 commits)")

---

Tags

phpcmsphp framework

### Embed Badge

![Health badge](/badges/clovers-clover/health.svg)

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

###  Alternatives

[getkirby/cms

The Kirby core

1.5k535.5k352](/packages/getkirby-cms)[feehi/cms

Feehi CMS Project Template

5323.0k](/packages/feehi-cms)

PHPackages © 2026

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