PHPackages                             lovefc/fcphp - 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. lovefc/fcphp

ActiveLibrary[Framework](/categories/framework)

lovefc/fcphp
============

FCPHP框架

6.2.6(3y ago)192MITPHPPHP &gt;=7.0.0

Since Mar 21Pushed 3y ago1 watchersCompare

[ Source](https://github.com/lovefc/fcphp6)[ Packagist](https://packagist.org/packages/lovefc/fcphp)[ Docs](https://gitee.com/lovefc/fcphp6.git)[ RSS](/packages/lovefc-fcphp/feed)WikiDiscussions master Synced today

READMEChangelog (4)DependenciesVersions (8)Used By (0)

[![avatar](/logo.png)](/logo.png)

一款简单的php框架,基于php7,强大的路由分发(支持正则). 小巧方便,简单扩展、模块分离、值得在学习或者在小型项目中使用

### 安装

[](#安装)

直接下载源码或者使用 composer 安装

composer.json

```
{
    "require": {
        "lovefc/fcphp": "6.2.6"
    }
}

```

```
composer require lovefc/fcphp:6.2.6

```

### 使用方法

[](#使用方法)

```
// 报错显示
define('DEBUG', true);

// 定义错误日志
define('LOG_DIR',__DIR__.'/Log');

// 引入框架
require __DIR__ . '/vendor/autoload.php';

// 框架初始化
\FC\Main::init();

// 运行框架
\FC\Main::run();

```

### 演示案例

[](#演示案例)

Main目录下包含了各种案例

说明位置基本数据库操作Controller/db基础模型操作Controller/curl自带的curl操作库Controller/curl自带的验证码Controller/captcha商品下单,并发测试Controller/orderredis操作Controller/redis模板引擎使用Controller/view

###  Health Score

24

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.5% 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 ~5 days

Total

7

Last Release

1433d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/29d97b6587197b373f7244e3d4a84e6944ffd971ff10a88256c39432e3fb8936?d=identicon)[lovefc](/maintainers/lovefc)

---

Top Contributors

[![lovefc](https://avatars.githubusercontent.com/u/18413965?v=4)](https://github.com/lovefc "lovefc (314 commits)")[![bycodes](https://avatars.githubusercontent.com/u/34326540?v=4)](https://github.com/bycodes "bycodes (7 commits)")[![mxyblog](https://avatars.githubusercontent.com/u/32597778?v=4)](https://github.com/mxyblog "mxyblog (1 commits)")

---

Tags

phpframeworkfcphp

### Embed Badge

![Health badge](/badges/lovefc-fcphp/health.svg)

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

###  Alternatives

[pestphp/pest-plugin-stressless

Stressless plugin for Pest

67723.5k15](/packages/pestphp-pest-plugin-stressless)[alleyinteractive/pest-plugin-wordpress

WordPress Pest Integration

263.6k](/packages/alleyinteractive-pest-plugin-wordpress)

PHPackages © 2026

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