PHPackages                             ysh/webman-yflow - 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. ysh/webman-yflow

ActiveLibrary

ysh/webman-yflow
================

Webman YFlow

v0.0.4(1mo ago)313↑361.5%MITHTMLPHP &gt;=8.1

Since Apr 6Pushed 1mo agoCompare

[ Source](https://github.com/Mr-ShiHuaYu/webman-yflow)[ Packagist](https://packagist.org/packages/ysh/webman-yflow)[ RSS](/packages/ysh-webman-yflow/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

PHP开源工作流引擎yflow的webman插件
------------------------

[](#php开源工作流引擎yflow的webman插件)

安装使用
----

[](#安装使用)

**要求 php&gt;=8.1**

### 1.确保已经安装了webman

[](#1确保已经安装了webman)

webman安装地址:

#### 1.1默认使用交互式安装向导(二选一,windows下不能使用默认的cmd,选择不了,建议使用git bash)

[](#11默认使用交互式安装向导二选一windows下不能使用默认的cmd选择不了建议使用git-bash)

```
composer create-project workerman/webman:~2.0
```

#### 1.2禁用交互式安装向导(二选一,windows下推荐使用)

[](#12禁用交互式安装向导二选一windows下推荐使用)

```
composer create-project workerman/webman:~2.0 --no-interaction
```

### 2.安装工作流引擎(可以省略)

[](#2安装工作流引擎可以省略)

```
composer require ysh/yflow

```

> 因为webman-yflow内部已经依赖了 yflow 引擎

### 3.安装webman-admin插件

[](#3安装webman-admin插件)

```
composer require -W webman/admin ~2.0
```

重启webman,参考

访问  完成数据库相关配置

> 无法在composer.josn中依赖webman-admin插件，因为webman-yflow插件安装时,需要写菜单到数据库中,所以,必须保证webman-admin插件安装成功

### 4.安装webman-yflow插件

[](#4安装webman-yflow插件)

```
composer require ysh/webman-yflow

```

### 5.修改config\\database.php下的数据库配置

[](#5修改configdatabasephp下的数据库配置)

> 以下为示例,请根据实际情况修改

```
'database'  => 'test_yflow',
'username'  => 'root',
'password'  => 'root',
'charset'   => 'utf8mb4',
'collation' => 'utf8mb4_general_ci',
```

### 6.执行插件菜单安装

[](#6执行插件菜单安装)

```
php webman app-plugin:install yflow
```

重新访问:

### 导入预制流程定义json文件

[](#导入预制流程定义json文件)

内置了一个简单的串行的流程定义json文件,位于 插件目录下/测试流程json/leaveFlow-serial1.json,可以在流程定左上角导入.

卸载插件
----

[](#卸载插件)

### 1.先卸载菜单

[](#1先卸载菜单)

```
php webman app-plugin:uninstall yflow
```

> 可能会卸载失败,直接删除数据库中的flow\_开头的表及test\_leave表即可.

### 2.再卸载插件

[](#2再卸载插件)

```
composer remove ysh/webman-yflow
```

yflow 引擎开源地址:
-------------

[](#yflow-引擎开源地址)

非常感谢 java版本的 warm-flow 项目，为 本项目带来的灵感.
-------------------------------------

[](#非常感谢-java版本的-warm-flow-项目为-本项目带来的灵感)

java warm-flow 项目地址:

引擎概览
----

[](#引擎概览)

[![warm-flow](https://camo.githubusercontent.com/5795280f297287ad2e7139df119402d84dafc5a897645d9e4fde1dee3ad4a9f1/68747470733a2f2f666f727564612e67697465652e636f6d2f696d616765732f313735343533303238313731373334303935302f62353331633235365f323231383330372e706e67)](https://camo.githubusercontent.com/5795280f297287ad2e7139df119402d84dafc5a897645d9e4fde1dee3ad4a9f1/68747470733a2f2f666f727564612e67697465652e636f6d2f696d616765732f313735343533303238313731373334303935302f62353331633235365f323231383330372e706e67)

[![warm-flow](https://camo.githubusercontent.com/6de1a22de3f94274e777aa175b2982a3e78c56fe1a4df3e9f300228248342905/68747470733a2f2f666f727564612e67697465652e636f6d2f696d616765732f313735343533303538323439383237353530322f62653361636235355f323231383330372e706e67)](https://camo.githubusercontent.com/6de1a22de3f94274e777aa175b2982a3e78c56fe1a4df3e9f300228248342905/68747470733a2f2f666f727564612e67697465652e636f6d2f696d616765732f313735343533303538323439383237353530322f62653361636235355f323231383330372e706e67)

[![warm-flow](https://camo.githubusercontent.com/0fd1317555e14be54c1e4153c6aae8768a9633cc1436fd6204a1a7bdfa0f2616/68747470733a2f2f666f727564612e67697465652e636f6d2f696d616765732f313734323830333935363037313338343839392f65623536333135325f323231383330372e706e67)](https://camo.githubusercontent.com/0fd1317555e14be54c1e4153c6aae8768a9633cc1436fd6204a1a7bdfa0f2616/68747470733a2f2f666f727564612e67697465652e636f6d2f696d616765732f313734323830333935363037313338343839392f65623536333135325f323231383330372e706e67)

[![warm-flow](https://camo.githubusercontent.com/de78e24b71301615b3d92b61794d32b26c9b331b875a255e85af508e1a9d5fcf/68747470733a2f2f7777772e776f726b65726d616e2e6e65742f75706c6f61642f696d672f32303236303430362f30363639643332626439336639622e6a7067)](https://camo.githubusercontent.com/de78e24b71301615b3d92b61794d32b26c9b331b875a255e85af508e1a9d5fcf/68747470733a2f2f7777772e776f726b65726d616e2e6e65742f75706c6f61642f696d672f32303236303430362f30363639643332626439336639622e6a7067)

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance93

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

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

4

Last Release

34d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2f331a916b5d762b95804061718fc3f7fc1684238f4c39aedcdfefa280f2fdd1?d=identicon)[Mr-ShiHuaYu](/maintainers/Mr-ShiHuaYu)

---

Tags

phpwebmanworkflowyflow

### Embed Badge

![Health badge](/badges/ysh-webman-yflow/health.svg)

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

###  Alternatives

[saithink/saiadmin

webman plugin

2709.9k1](/packages/saithink-saiadmin)[workbunny/webman-rabbitmq

Webman plugin workbunny/webman-rabbitmq

333.6k1](/packages/workbunny-webman-rabbitmq)[shopwwi/webman-auth

webman auth

194.3k3](/packages/shopwwi-webman-auth)

PHPackages © 2026

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