PHPackages                             shyzhen/fakephp - 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. shyzhen/fakephp

ActiveProject[Framework](/categories/framework)

shyzhen/fakephp
===============

a simple framework of php

0.1(5y ago)1132MITPHPPHP &gt;=7.0

Since Jan 13Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ShyZhen/FakePHP)[ Packagist](https://packagist.org/packages/shyzhen/fakephp)[ RSS](/packages/shyzhen-fakephp/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

FakePHP
=======

[](#fakephp)

a framework for learning php

准备开发一款简单的框架,满足基本要求即可。

Use Guider
==========

[](#use-guider)

- `composer create-project shyzhen/fakephp`
- `cp config.php.example config.php`
- edit`config.php`

Change List
===========

[](#change-list)

#### Config

[](#config)

- 配置文件在/config目录下，copy`config.php.example` 并重命名为`config.php`即可。
- 每次需要同步更改`config.php.example`文件，并加入版本控制。

#### Route

[](#route)

- 基本的路由解析功能，支持基本参数格式以及`pathinfo`格式。 例如`/public/Web/Index/dbTest`和`?module=Web&controller=Index&action=dbTest`相同，即访问`Web`控制器目录中的`Index`控制器中的`dbTest`方法。

#### Autoload

[](#autoload)

- 基本的自动加载功能，满足psr规范，引入对应命名空间即可。

#### 基本的MVC结构

[](#基本的mvc结构)

- 推荐使用默认目录结构，也可以定制化，但是要注意命名空间要书写正确。
- 每个控制器需要继承基类控制器，包含视图渲染功能，目前集成`twig`为前端视图模板。
- 每个模型需要继承基类模型，包含数据库类，目前功能还不完善。

Runtime
=======

[](#runtime)

- `Bootstrap::$config`返回当前配置信息

Feature
=======

[](#feature)

- Request
- Response
- Validator
- QueryBuilder
- Container

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

1996d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20349429?v=4)[litblc](/maintainers/shyZhen)[@ShyZhen](https://github.com/ShyZhen)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/shyzhen-fakephp/health.svg)

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

###  Alternatives

[symfony/symfony

The Symfony PHP framework

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

PHPackages © 2026

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