PHPackages                             yurunsoft/yurun-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. yurunsoft/yurun-php

ActiveLibrary[Framework](/categories/framework)

yurunsoft/yurun-php
===================

YurunPHP是宇润软件专为懒人开发者设计的一款开源PHP框架，基于MVC动态分层架构，开发者可以根据需要自行扩充分层。它来自中国！

v2.2.2(8y ago)358711[1 issues](https://github.com/Yurunsoft/YurunPHP/issues)1Apache2PHP

Since Oct 20Pushed 3y ago4 watchersCompare

[ Source](https://github.com/Yurunsoft/YurunPHP)[ Packagist](https://packagist.org/packages/yurunsoft/yurun-php)[ RSS](/packages/yurunsoft-yurun-php/feed)WikiDiscussions master Synced today

READMEChangelog (9)DependenciesVersions (5)Used By (1)

简介
==

[](#简介)

YurunPHP是一款MVC开源PHP框架，它的一切都是根据实际项目需求总结归纳而出，力争减少开发者在项目开发中的重复工作量。它经历了许多大小项目的考验（其中不乏年销售额上亿的系统），不断完善改进，已经十分成熟。

YurunPHP框架支持PHP 5.3-7.x 版本，兼容 Windows / Linux 。

仓库地址
====

[](#仓库地址)

Github仓库：

码云仓库：

Composer
========

[](#composer)

```
{
    "require": {
        "yurunsoft/yurun-php": "2.2.*"
    }
}
```

文档手册
====

[](#文档手册)

YurunPHP 2.x 开发手册：

YurunPHP 1.x 开发手册：[http://www.kancloud.cn/yurun/php-framework-1\_0](http://www.kancloud.cn/yurun/php-framework-1_0)

开源项目
====

[](#开源项目)

YurunBlog

Github仓库：

码云仓库：

YurunPHP最新消息都会在官网以及QQ中发布，欢迎关注，共同学习进步！

宇润PHP技术交流群：74401592

YurunPHP 2
==========

[](#yurunphp-2)

- 在v2.2中加入了composer支持，可以作为composer包引入项目
- 进行了小范围重构，减少内存占用，少量提升性能
- 命令行CLI模式支持
- 支持以配置形式配置多种缓存、配置、日志、数据库
- 初始化项目初始化处理文件
- 配置驱动：Ini、JSON、XML、Db
- 缓存驱动：APC、APCu、Db、EAccelerator、Memcache、Memcached、Redis、WinCache、XCache
- 日志驱动：Db
- 支持将Session保存至数据库
- 新增一个XML转换类

特色功能
====

[](#特色功能)

> - 双向路由：解析、生成一步到位
> - 动态分层架构：除了常见的Control、Model、View，开发者还可通过配置文件自定义分层
> - 多入口：满足各类开发者的需要
> - API接口开发：内置API接口控制器，支持直接返回包括json、xml等格式的各类数据
> - 简单ORM：单表增删改查不需要写SQL语句，复杂ORM不如写SQL更为便捷
> - DB统一接口：可以不改任何代码，实现更换数据库类型切换。目前支持MYSQL/MSSQL
> - 多数据库自由切换：配置文件中可以配置多个数据库连接，在需要时连接，自由切换
> - 模版引擎：YurunPHP内置了一个简单的模版引擎。采用html标签式的标签，方便不懂PHP的设计人员制作页面模版。release模式下模版会被编译，无须担心效率损耗！
> - 模版控件：内置了许多常用控件，在开启默认模版引擎时可以使用这样的标签来展示控件，支持数据绑定
> - 插件机制：支持在系统中埋下事件，以便开发插件扩展
> - 数据验证：不仅有数据验证类，而且model支持自动验证
> - 定时任务：可以定时执行一些操作，拥有高度自由的触发时间配置功能
> - 驱动扩展：内置Redis、Memcache等常用驱动，通过配置文件即可使用
> - 其它：缓存、配置、数据库、错误日志记录、多语言支持、Session、Cookie、Request、Response

开源协议
====

[](#开源协议)

Apache Licence是著名的非盈利开源组织Apache采用的协议。该协议和BSD类似，同样鼓励代码共享和尊重原作者的著作权，同样允许代码修改，再发布（作为开源或商业软件）。

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity66

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

Total

3

Last Release

3028d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f917bb42280d114c53cebadc2942a13ee03abe14971089f88895e266d637169?d=identicon)[Yurunsoft](/maintainers/Yurunsoft)

---

Top Contributors

[![Yurunsoft](https://avatars.githubusercontent.com/u/20104656?v=4)](https://github.com/Yurunsoft "Yurunsoft (394 commits)")

---

Tags

mvc-frameworkphpphp-framework

### Embed Badge

![Health badge](/badges/yurunsoft-yurun-php/health.svg)

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

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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