PHPackages                             rice/rice - 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. rice/rice

ActiveProject

rice/rice
=========

rice

v1.0.2(7y ago)132MITPHP

Since Nov 18Pushed 7y agoCompare

[ Source](https://github.com/dmf-code/Rice)[ Packagist](https://packagist.org/packages/rice/rice)[ RSS](/packages/rice-rice/feed)WikiDiscussions master Synced 3d ago

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

Rice PHP框架
==========

[](#rice-php框架)

Rice轻量级PHP框架

[![License](https://camo.githubusercontent.com/f45d904953153ca304a2328243d2733e095eee13a631a1f390709885d41dd692/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2f6672616d65776f726b2f6c6963656e73652e737667)](https://packagist.org/packages/rice/rice)

\##框架流程

[![](Resources/imgs/lct.jpg)](Resources/imgs/lct.jpg)

\#安装

```
composer composer create-project rice/rice

```

注意刚刚composer下来后Caches目录要赋予权限，不然无法生成缓存文件

```
cd rice
chmod -R 777 Caches

```

\#使用介绍 可以仿照Test模块进行开发

App目录

Test-模块

- Controller-文件夹
- Model-文件夹
- Tpl-文件夹

创建的文件都要首字母大写

App-Test-Controller-Index.php

```
    //测试
    public function Index(){

        $this->assign('test','test 123');
        $this->display();
    }

```

App-Test-Model-Index.php

```
    public function index(){
        //$db = Db::getInstance();
        // $sql = "SELECT `id` FROM `test` WHERE `status`=:status;";
        // $info = $db->query($sql)->bind(array('status'=>1))->fetchAll();
    }

```

App-Test-Tpl-Index.php

```

$cache = \Rice\Core\Core::get('Cache');

var_dump($cache->test);

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity64

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

Total

3

Last Release

2735d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2cf1bfb9f7b6b44ecde2f6156de38d46f2486b36651882e97eac68e81043e883?d=identicon)[dmf-code](/maintainers/dmf-code)

---

Top Contributors

[![dmf-code](https://avatars.githubusercontent.com/u/22268578?v=4)](https://github.com/dmf-code "dmf-code (18 commits)")

### Embed Badge

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

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

PHPackages © 2026

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