PHPackages                             yng/yng-framework - 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. yng/yng-framework

ActiveLibrary[Framework](/categories/framework)

yng/yng-framework
=================

The YNGPHP Framework.

030PHP

Since Sep 20Pushed 2y ago1 watchersCompare

[ Source](https://github.com/yng666/yng-framework)[ Packagist](https://packagist.org/packages/yng/yng-framework)[ RSS](/packages/yng-yng-framework/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

框架核心
====

[](#框架核心)

关于composer依赖
============

[](#关于composer依赖)

`ext-json`和`ext-mbstring`放进依赖里,这样您可以将安装说明作为 Composer 包提供, 如果底层系统不满足您的包要求, 安装将失败, 并且用户将收到缺少扩展的警告。

主要新特性
-----

[](#主要新特性)

- 采用`PHP8`强类型（严格模式）
- 支持更多的`PSR`规范
- 原生多应用支持
- 系统服务注入支持
- ORM作为独立组件使用
- 全新的事件系统
- 模板引擎分离出核心
- 内部功能中间件化
- SESSION机制改进
- 日志多通道支持
- 规范扩展接口
- 更强大的控制台
- 对Swoole以及协程支持改进
- 对IDE更加友好
- 统一和精简大量用法
- 使用更加强大的打印样式

> YngPHP1.0的运行环境要求PHP8.0+

安装
--

[](#安装)

```
composer create-project yng/yng yng
```

启动服务

```
cd yng
php yng run
```

然后就可以在浏览器中访问

```
http://localhost:8000
```

如果需要更新框架使用

```
composer update yng/yng-framework
```

文档
--

[](#文档)

[完全开发手册](https://www.kancloud.cn/manual/yngphp/content)

命名规范
----

[](#命名规范)

`YngPHP`遵循PSR-2命名规范和PSR-4自动加载规范。

参与开发
----

[](#参与开发)

直接提交PR或者Issue即可

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity21

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/96970b9790e831710268790f4260e41e5d2c67de273a1f9502a1729fbc47df4f?d=identicon)[yng666](/maintainers/yng666)

---

Top Contributors

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

### Embed Badge

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

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

###  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)
