PHPackages                             death\_satan/thinkphp-dispatch - 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. death\_satan/thinkphp-dispatch

ActiveLibrary[Framework](/categories/framework)

death\_satan/thinkphp-dispatch
==============================

thinkphp auto response

v1.0(4y ago)15MITPHP

Since Sep 3Pushed 4y ago1 watchersCompare

[ Source](https://github.com/zds-s/thinkphp-dispatch)[ Packagist](https://packagist.org/packages/death_satan/thinkphp-dispatch)[ Docs](https://www.cnblogs.com/death-satan)[ RSS](/packages/death-satan-thinkphp-dispatch/feed)WikiDiscussions main Synced 6d ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

thinkphp Dispatch扩展
===================

[](#thinkphp-dispatch扩展)

新增 `Generator` `ToResponse` 接口
------------------------------

[](#新增-generator-toresponse-接口)

控制器返回可以是实现了以上任意一个接口的类成员
-----------------------

[](#控制器返回可以是实现了以上任意一个接口的类成员)

安装
==

[](#安装)

---

```
composer require death_satan/thinkphp-dispatch --dev
```

---

优先级
===

[](#优先级)

`ToResponse` `>` `Generator`
----------------------------

[](#toresponse--generator)

---

常见问题
====

[](#常见问题)

---

- 安装后在控制器中返回继承了接口的类提示错误 (执行`composer update`)

---

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

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

2

Last Release

1716d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1491884?v=4)[Jari Juslin](/maintainers/zds)[@zds](https://github.com/zds)

---

Tags

thinkphpthinkphp6thinkphp composer组件扩展包

### Embed Badge

![Health badge](/badges/death-satan-thinkphp-dispatch/health.svg)

```
[![Health](https://phpackages.com/badges/death-satan-thinkphp-dispatch/health.svg)](https://phpackages.com/packages/death-satan-thinkphp-dispatch)
```

###  Alternatives

[topthink/think

the new thinkphp framework

8.0k1.2M13](/packages/topthink-think)

PHPackages © 2026

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