PHPackages                             willphp/yiyu - 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. willphp/yiyu

ActiveProject[Framework](/categories/framework)

willphp/yiyu
============

一鱼APHP框架 A PHP TOP Framework

v5.3.7(1y ago)4351Apache-2.0PHPPHP &gt;=7.4.3

Since Jul 1Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/willphp/aphp)[ Packagist](https://packagist.org/packages/willphp/yiyu)[ Docs](https://www.aphp.top/)[ RSS](/packages/willphp-yiyu/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)DependenciesVersions (36)Used By (0)

一鱼PHP框架
-------

[](#一鱼php框架)

告别繁琐，精简开发！一鱼PHP框架(APHP)是一个MVC超轻量级PHP8框架。

### 框架特色

[](#框架特色)

- 代码超轻量(200KB+)，按需加载
- 数据库链式操作
- 模型三大自动：验证，处理，过滤
- 模板标签简单，可定制
- 支持Redis缓存，命令行可生成MVC

### 环境要求

[](#环境要求)

- PHP环境：PHP8.1 ~ PHP8.5
- 数据库：MySQL5.6 ~ MySQL8.0

### 相关文档

[](#相关文档)

开发文档与更新日志：

### 仓库地址

[](#仓库地址)

Gitee地址：

GitHub地址：

### 环境推荐

[](#环境推荐)

线上：[宝塔面版BT](https://www.bt.cn) 本地：[小皮面版phpstudy](https://www.xp.cn)

### 宝塔bt

[](#宝塔bt)

1. 添加站点：域名 已解析到IP的域名或IP:端口 数据库Mysql
2. 上传并解压安装包到网站目录
3. 设置—&gt;网站目录-运行目录到`/public`
4. 设置—&gt;`伪静态`规则
5. 修改`config/database.php`中的数据库配置
6. 或重命名`env.example.env`为`.env`并修改其中的数据库配置
7. 访问域名
8. 可设置定时任务shell命令：`php aphpcli [应用@]命令类:方法 参数值`

### phpstudy

[](#phpstudy)

1. 创建网站：添加域名，如`www.aphp.to` 勾选创建数据库
2. 解压安装包到网站目录
3. 修改网站根目录到`/public`
4. 设置`伪静态`规则
5. 重命名`env.example.env`为`.env`并修改其中数据库配置
6. 访问`http://www.aphp.to`

### 伪静态规则

[](#伪静态规则)

Nginx规则：

```
location / {
	if (!-e $request_filename) {
		rewrite  ^(.*)$  /index.php/$1  last;
	}
}
```

Apache规则：

```

  Options +FollowSymlinks -Multiviews
  RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.*)$ index.php? [L,E=PATH_INFO:$1]

```

### 开发案例

[](#开发案例)

- 一鱼CMS(aphpcms)：
- 一鱼文档(aphpdoc)：
- 一鱼后台(aphpadmin)：

### 技术支持

[](#技术支持)

框架官网： QQ群1：325825297 QQ群2：16008861 作者：无念()

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance57

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 93.9% 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 ~30 days

Recently: every ~56 days

Total

35

Last Release

408d ago

Major Versions

v3.3.1 → v4.0.12023-03-05

v4.7.1 → v5.0.12024-03-06

PHP version history (2 changes)v3.2.0PHP &gt;=5.6.0

v4.0.2PHP &gt;=7.4.3

### Community

Maintainers

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

---

Top Contributors

[![willphp](https://avatars.githubusercontent.com/u/94844305?v=4)](https://github.com/willphp "willphp (46 commits)")[![T1anjiu](https://avatars.githubusercontent.com/u/84212214?v=4)](https://github.com/T1anjiu "T1anjiu (3 commits)")

---

Tags

frameworkormaphp

### Embed Badge

![Health badge](/badges/willphp-yiyu/health.svg)

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

PHPackages © 2026

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