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

ActiveLibrary[Framework](/categories/framework)

hanhyu/wlsh-framework
=====================

运行环境：php8 / nginx1.18.0 / swoole4.5.9 / Mysql8 / Redis6

v2.0(5y ago)17132[7 issues](https://github.com/hanhyu/wlsh-framework/issues)[1 PRs](https://github.com/hanhyu/wlsh-framework/pulls)PHPPHP &gt;=8.0

Since Jun 20Pushed 2y ago1 watchersCompare

[ Source](https://github.com/hanhyu/wlsh-framework)[ Packagist](https://packagist.org/packages/hanhyu/wlsh-framework)[ RSS](/packages/hanhyu-wlsh-framework/feed)WikiDiscussions wlsh Synced 2w ago

READMEChangelog (4)Dependencies (13)Versions (12)Used By (0)

wlsh-framework
==============

[](#wlsh-framework)

> 名词解释：wlsh（ 为了生活---每个字的第一个拼音 ）

酷毙的码农为了生活自由，基于`composer`整合`swoole`等扩展组合而成的`php`内存长驻框架 ，低耦合，使用非常少的语法糖，尽量使用原有扩展中的语法，提供最优状态以减少`PHPer`学习新框架的成本。

分类说明官网文档联系邮箱### 使用基本要求

[](#使用基本要求)

对于使用wlsh项目的开发者，需要掌握swoole基本的开发理念与php8语法，熟悉composer用法。

> 我们的口号：简单才是`php`美之所在，用最简捷、最高效、最性价比的方式获取项目资金中的利润最大化，绝对不会增加`phper`的学习成本。

### 框架特色

[](#框架特色)

1. 完全现代化支持，最低php8版本
2. 可无缝同步升级swoole最新版本
3. 完全组件化
4. 框架只定义了一个入口两个核心，`其他流程都是使用方团队自己约定`，方便代码`review`
5. 基于`swoole`扩展组件，核心都是c扩展，其实wlsh不能叫做一个框架而是一个协程组件
6. 简约快速，核心没有复杂化的流程，可以最快速地上手（看一遍即可进入编码阶段）
7. 安全，wlsh框架核心文件没有封装swoole提供的原始方法及功能，这样团队可以个性化定制外界无感知、一个项目可以设定自己的一套框架流程
8. 高性能，wlsh协程框架在处理`业务型密集IO`方面不低于`golang`、`c++`的性能
9. 非常低耦合，`完全没有封装新的函数语法糖`、无依赖性; 无任何的封装带来的好处是，只要会php8与swoole就可以直接上手开发业务代码`需要php功底深厚，不适合新手`
10. wlsh组件已经历了五年时间的考验与N个线上项目的蹂躏
11. 文档中标记 `[供参考]` 内容可以替换成自己或团队的规则格式
12. 自带独特的运维管理后台： [![Alt text](./tests/testImages/router_log.png "路由日志")](./tests/testImages/router_log.png)

### 该版本停止更新，3.0新版本转移到：wlsh-skeleton 仓库

[](#该版本停止更新30新版本转移到wlsh-skeleton-仓库)

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance12

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity71

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

Recently: every ~177 days

Total

6

Last Release

1830d ago

Major Versions

v0.2.1 → v1.02019-07-27

v1.0 → v2.0-RC12021-02-16

PHP version history (2 changes)v0.1PHP &gt;=7.2

v2.0-RC1PHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/ebc8c2d1c24e9b8f4efdab4a6a87236a643d5b2830bf5fae625c3e3f26f32cee?d=identicon)[hanhyu](/maintainers/hanhyu)

---

Top Contributors

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

---

Tags

composerphpswoolewlshwlsh-frameworkyafphpswoole

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[magento/community-edition

Magento 2 (Open Source)

12.1k53.0k12](/packages/magento-community-edition)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

84735.1k](/packages/flow-php-flow)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[hunzhiwange/framework

The QueryPHP Framework.

6315.8k1](/packages/hunzhiwange-framework)[luoxiaojun/sw-fw-less

Swoole Http Server without framework

165.3k](/packages/luoxiaojun-sw-fw-less)[duxweb/dux-lite

The lightweight framework based on slim php

161.0k9](/packages/duxweb-dux-lite)

PHPackages © 2026

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