PHPackages                             wgx954418992/rapid-php - 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. wgx954418992/rapid-php

ActiveLibrary[Framework](/categories/framework)

wgx954418992/rapid-php
======================

Fast, simple and practical php framework

4.0.1(3y ago)792015[1 PRs](https://github.com/wgx954418992/rapid-php/pulls)MITPHP

Since Dec 12Pushed 3y ago11 watchersCompare

[ Source](https://github.com/wgx954418992/rapid-php)[ Packagist](https://packagist.org/packages/wgx954418992/rapid-php)[ Docs](https://www.rapid-framework.com/)[ RSS](/packages/wgx954418992-rapid-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (33)Used By (0)

RapidPHP
========

[](#rapidphp)

RapidPHP本着免费开源、快速、高效、简单的面向对象的 轻量级PHP开发框架。

> **版本:** `4.0.1`

命名规范
----

[](#命名规范)

`rapidPHP`遵循Camel-Case命名规范，自动加载规范，并且注意如下规范：

### 目录和文件

[](#目录和文件)

- 目录支持小写或大写，为了同一期间，赞成搭建目录全部使用小写，不赞成下滑写等特殊符号；
- 类库、函数文件统一以`.php`为后缀，类库首字母大写，文件名跟类库名一致；
- 类的文件名均以命名空间定义，并且命名空间的路径和类库文件所在路径一致；
- 类名和类文件名保持一致，统一采用驼峰法命名（首字母大写）；

### 函数和类、属性命名

[](#函数和类属性命名)

- 类的命名采用驼峰法，并且首字母大写，格式 `NameType`、列如 `BaseController` 后面 `Controller`可有可无，但是为了统一期间，希望大家写进去；
- 函数的命名使用小写字母不赞成下划线 列入 `getUser`；
- 变量的命名使用驼峰法，并且首字母小写，例如 `tableName`、`instance`；
- 以双下划线“\_\_”打头的函数或方法作为魔法方法，例如 `__call` 和 `__autoload`；

### 常量和配置

[](#常量和配置)

- 常量全部大写+下划线；
- 配置参数可以为静态 方法 、常量、成员；

> RapidPHP 运行环境要求PHP7.2+。

安装
--

[](#安装)

```
composer create-project wgx954418992/rapid-php

```

运行测试项目
------

[](#运行测试项目)

- 导入数据库；

```
rapid-php.sql

```

- 修改mysql连接配置跟redis连接配置；

```
/apps/core/application.yaml

```

- 访问api接口；

```
$host/apps/app/index.php

```

- 访问后台管理；

```
$host/apps/admin/index.php

```

- 启动消息队列；

```
php /apps/queue/index.php start

```

- 查看消息队列命令；

```
php /apps/queue/index.php

```

参与开发
----

[](#参与开发)

直接提交PR或者Issue即可

版权信息
----

[](#版权信息)

rapidPHP遵循MIT开源协议发布，并提供免费使用。

本项目包含的第三方源码和二进制文件之版权信息另行标注。

版权所有Copyright © 2020-2024 by rapidPHP

All rights reserved。

###  Health Score

33

—

LowBetter than 74% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community14

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

Recently: every ~116 days

Total

31

Last Release

1143d ago

Major Versions

3.9.9.5 → 4.0.12023-03-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/04c0eaa99b3bdfd11c1230c5b7315ac6c06dbda82fb14d33bba37b35efd7bed2?d=identicon)[Renew](/maintainers/Renew)

---

Top Contributors

[![wgx954418992](https://avatars.githubusercontent.com/u/12554188?v=4)](https://github.com/wgx954418992 "wgx954418992 (2 commits)")

---

Tags

apiframeworkrestfulfastapirapidphp

### Embed Badge

![Health badge](/badges/wgx954418992-rapid-php/health.svg)

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

###  Alternatives

[php-curl-class/php-curl-class

PHP Curl Class makes it easy to send HTTP requests and integrate with web APIs.

3.3k9.5M351](/packages/php-curl-class-php-curl-class)[phprest/phprest

PHP Rest Framework.

3049.3k](/packages/phprest-phprest)[abydahana/aksara

Aksara is a CodeIgniter based CRUD Toolkit you can use to build complex applications become shorter, secure and more reliable just in a few lines of code. Serving both CMS or Framework, produce both HEADLESS (RESTful API) or TRADITIONAL (Browser Based), just by writing single controller. Yet it's reusable, scalable and ready to use!

1101.2k](/packages/abydahana-aksara)[patricksavalle/slim-rest-api

Production-grade REST-API App-class for PHP SLIM, in production on https://zaplog.pro (https://api.zaplog.pro/v1)

101.4k](/packages/patricksavalle-slim-rest-api)

PHPackages © 2026

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