PHPackages                             wxlmd/mdtask - 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. wxlmd/mdtask

ActiveLibrary

wxlmd/mdtask
============

15(3y ago)025PHP

Since Jan 3Pushed 3y ago1 watchersCompare

[ Source](https://github.com/youpuyewolong/mdtask)[ Packagist](https://packagist.org/packages/wxlmd/mdtask)[ RSS](/packages/wxlmd-mdtask/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (15)Used By (0)

任务插件使用说明

安装 composer require wxlmd/mdtask

config目录下会新增配置文件task.php（可任意修改）

migrate建表 php think mdtask:table php think migrate:run

启动任务监听 php think mdtask:listen

创建任务处理类 php think mdtask:create xxxxx xxxxx类似于export\_people 会把下划线自动转为驼峰

给任务处理类添加任务 Task::task\_now('ExportPeople','首次任务测试','1',\['a'=&gt;11111,'b'=&gt;2222\]); 传参分别是：处理任务的类名，任务名称，创建人，任务参数 Task::task\_later(10,'ExportPeople','延时任务测试','1',\['a'=&gt;11111,'b'=&gt;2222\]); 传参分别是：延时执行秒数，处理任务的类名，任务名称，创建人，任务参数

在配置文件service\_path下生成的类中编写任务执行逻辑

该类中param即创建任务时传的param do\_task\_handle方法 return的值 会被填在任务表的result字段

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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

Total

14

Last Release

1230d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/wxlmd-mdtask/health.svg)

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

###  Alternatives

[zoujingli/think-library

Library for ThinkAdmin

8569.8k18](/packages/zoujingli-think-library)[jaguarjack/catchadmin

The CatchAdmin Background management

8962.6k](/packages/jaguarjack-catchadmin)[casbin/think-authz

An authorization library that supports access control models like ACL, RBAC, ABAC for ThinkPHP.

27918.5k6](/packages/casbin-think-authz)[rockys/e-admin

ThinkPhP E-admin

462.4k](/packages/rockys-e-admin)[rockys/ex-admin-thinkphp

Ex-admin-thinkphp 是一个基于Ant Design of Vue + Thinkphp 开发而成后台系统构建工具，无需关注页面模板JavaScript，只用php代码即可快速构建出一个功能完善的后台系统。

163.0k](/packages/rockys-ex-admin-thinkphp)[yunwuxin/think-notification

The Notification Library For ThinkPHP6

422.2k4](/packages/yunwuxin-think-notification)

PHPackages © 2026

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