PHPackages                             hmxingkong/think-multi-app - 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. hmxingkong/think-multi-app

ActiveLibrary[Framework](/categories/framework)

hmxingkong/think-multi-app
==========================

ThinkPHP 6.\* 多应用功能支持

v1.1.0(6y ago)21261[1 issues](https://github.com/hmxingkong/think-multi-app/issues)MITPHPPHP &gt;=7.1.0

Since Mar 22Pushed 6y ago1 watchersCompare

[ Source](https://github.com/hmxingkong/think-multi-app)[ Packagist](https://packagist.org/packages/hmxingkong/think-multi-app)[ RSS](/packages/hmxingkong-think-multi-app/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

think-multi-app
===============

[](#think-multi-app)

ThinkPHP 6.\* 多应用功能支持，基于ThinkPHP官方同名插件(topthink/think-multi-app: 1.0.12)修改， 扩展通过路由文件解析appName的功能，解决官方插件只能通过入口文件或者url指定appName的问题

---

安装
--

[](#安装)

使用composer安装

```
composer require hmxingkong/think-multi-app

```

提示： 包名可指定版本号，e.g. hmxingkong/think-multi-app or hmxingkong/think-multi-app:1.0.0 or hmxingkong/think-multi-app=1.0.0 or "hmxingkong/think-multi-app 1.0.0"

使用工具包

```
安装即可默认启用，注意如果已安装官方 topthink/think-multi-app，请卸载，本插件已包含官方插件的功能

```

更新工具包

```
composer update hmxingkong/think-multi-app

```

v1.1.0 更新内容

- 优化多应用识别策略，兼容 app/miss 应用，appName 确认优先级： 手工指定（URL/入口文件） &gt; 配置指定（app.domain\_bind/app.app\_map） &gt; 动态识别 &gt; 默认Miss应用（app/miss） &gt; 默认应用（app.default\_app）

v1.0.0 更新内容

- 初始版本，基于 topthink/think-multi-app: 1.0.12 进行优化，支持通过路由文件解析 appName，支持加载 RootPath/AppName/route、RootPath/route/AppName、RootPath/route 三个位置的路由配置加载，优先级 RootPath/AppName/route &gt; RootPath/route/AppName &gt; RootPath/route

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

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

2

Last Release

2284d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/79b703ce9394067bf2de326152f64cea1f3c00d934b626fa870169e9d5d239b7?d=identicon)[hmxingkong](/maintainers/hmxingkong)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/hmxingkong-think-multi-app/health.svg)

```
[![Health](https://phpackages.com/badges/hmxingkong-think-multi-app/health.svg)](https://phpackages.com/packages/hmxingkong-think-multi-app)
```

###  Alternatives

[topthink/think

the new thinkphp framework

7.9k1.2M13](/packages/topthink-think)[topthink/think-swoole

Swoole extend for thinkphp

477182.2k20](/packages/topthink-think-swoole)[topthink/think-throttle

throttle middleware for thinkphp8

18799.8k2](/packages/topthink-think-throttle)[jaguarjack/catchadmin

The CatchAdmin Background management

9142.6k](/packages/jaguarjack-catchadmin)[topthink/think-multi-app

thinkphp multi app support

20845.4k56](/packages/topthink-think-multi-app)

PHPackages © 2026

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