PHPackages                             aichenk/tp6-route-param - 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. aichenk/tp6-route-param

ActiveLibrary

aichenk/tp6-route-param
=======================

tp6支持url参数顺序解析，可用于tp5升级兼容

1.2.0(4y ago)088MITPHPPHP &gt;=7.1.0

Since Jul 13Pushed 4y ago1 watchersCompare

[ Source](https://github.com/aiChenK/tp6-route-param)[ Packagist](https://packagist.org/packages/aichenk/tp6-route-param)[ RSS](/packages/aichenk-tp6-route-param/feed)WikiDiscussions main Synced today

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

tp6-route-param
===============

[](#tp6-route-param)

tp6支持url参数顺序解析，可用于tp5升级兼容(不建议) tp6将路由参数绑定方式更改为仅使用`route->param`

运行环境
----

[](#运行环境)

- PHP 7.1+
- ThinkPHP 6

安装方法
----

[](#安装方法)

```
    composer require aichenk/tp6-route-param

```

使用
--

[](#使用)

### 路由参数绑定支持顺序绑定

[](#路由参数绑定支持顺序绑定)

- `config/route.php`增加参数`'url_param_type' => 1`

### 更改路由绑定参数来源（不使用request-&gt;param())

[](#更改路由绑定参数来源不使用request-param)

- `config/route.php`增加参数`'only_route_param' => true`

更新日志
----

[](#更新日志)

2021-07-20 - v1.1.0

- 支持路由参数分发仅使用`route`中`param`(忽略`request->param()`)

2021-08-25 - v1.2.0

- 增加`Request`类支持修改路由解析参数

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Total

3

Last Release

1718d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/aichenk-tp6-route-param/health.svg)

```
[![Health](https://phpackages.com/badges/aichenk-tp6-route-param/health.svg)](https://phpackages.com/packages/aichenk-tp6-route-param)
```

###  Alternatives

[topthink/think

the new thinkphp framework

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

The ThinkPHP6 Queue Package

640675.0k75](/packages/topthink-think-queue)[topthink/think-swoole

Swoole extend for thinkphp

477174.4k19](/packages/topthink-think-swoole)[topthink/think-captcha

captcha package for thinkphp

132934.4k67](/packages/topthink-think-captcha)[topthink/think-worker

workerman extend for thinkphp

202227.2k9](/packages/topthink-think-worker)[topthink/think-migration

96460.8k121](/packages/topthink-think-migration)

PHPackages © 2026

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