PHPackages                             lkh/route-list - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. lkh/route-list

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

lkh/route-list
==============

The purpose of this composer is to easier manage all routes.

v1.0.6(3y ago)012MITPHPPHP &gt;=5.6.4

Since Apr 9Pushed 3y ago1 watchersCompare

[ Source](https://github.com/jh0712/route-list)[ Packagist](https://packagist.org/packages/lkh/route-list)[ RSS](/packages/lkh-route-list/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (8)Used By (0)

Route List
==========

[](#route-list)

這個專案主要目標是想讓route的管理更加輕鬆

The purpose of this project is to easier manage all routes.

Installation(安裝)
================

[](#installation安裝)

使用下列指令安裝

To install through Composer, by run the following command:

```
composer require lkh/route-list --dev
```

已下指令可以將config的設定移至專案內管理

The package will automatically register a service provider and alias.

Optionally, publish the package's configuration and publish stubs by running:

```
php artisan vendor:publish --provider="Lkh\RouteList\RouteListServiceProvider"
```

result(執行結果)

```
Copied File [/vendor/lkh/route-list/src/config/config.php] To [/config/routelist.php]
Publishing complete.
```

start use it(開始使用)
------------------

[](#start-use-it開始使用)

創建所需DB table 以及 載入config

Create db table &amp; load config

```
php artisan migrate
php artisan config:ca

```

執行routelist command

Run command

```
php artisan route:get-route-list

```

go to url : /route-view

config setting (config 設定)
--------------------------

[](#config-setting-config-設定)

```
return [
    /**
     * The routes to hide with regular expression.
     */
    'filter_regular' => [
        '#^_debugbar#',
        '#^_ignition#',
        '#^routes$#'
    ],
    /**
     * The columns array can help you to change which columns do you want to show for datatable.
     */
    'columns' => [
        'methods'    => ['title' => 'Method'],
        'domain'     => ['title' => 'Domain'],
        'path'       => ['title' => 'Path'],
        'name'       => ['title' => 'Name'],
        'action'     => ['title' => 'Action'],
        'middleware' => ['title' => 'Middleware'],
    ],
    /**
     * The pageLengthOptions array can help you to setting showing item for datatable.
     */
    'pageLengthOptions' => [
        [10, 25, 50, -1],
        [10, 25, 50, "All"]
    ],
    /**
     * choose column to sort.
     * array > 0,1,2,3,4,5
     * asc >> 1,2,3,4
     * desc >> 4,3,2,1
     */
    'tableOrder' => [1, 'asc'],
];

```

problem solution(常見問題解決方案)
--------------------------

[](#problem-solution常見問題解決方案)

1. composer version 如果你的composer版本是version,你可能會遇到版本問題.
    if you use composer version 1, maybe you will see this problem.

```
Warning from https://repo.packagist.org: Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2. See https://blog.packagist.com/
deprecating-composer-1-support/
Info from https://repo.packagist.org: #StandWithUkraine
```

你可以藉由以下指令調整composer的版本。
you can use this command to change composer version to fix this problem.

```
composer self-update --2
```

### hope you enjoy :)

[](#hope-you-enjoy-)

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

7

Last Release

1133d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/42d02a37c87ab64212c3d7690fd21ca7018cd89acbb3bad57b370806996ea7a5?d=identicon)[jh0712](/maintainers/jh0712)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/lkh-route-list/health.svg)

```
[![Health](https://phpackages.com/badges/lkh-route-list/health.svg)](https://phpackages.com/packages/lkh-route-list)
```

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)

PHPackages © 2026

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