adoolaard/lumen-routes-list 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

adoolaard/lumen-routes-list

Composer 安装命令:

composer require adoolaard/lumen-routes-list

包简介

Final Lumen update - Display the route list of Lumen

README 文档

README

A convenient package for displaying all registered routes in a Lumen application. This tool provides a clear and concise table of routes directly in the console, making it easier to manage and review your application's routing.

About

This package is a fork of appzcoder/lumen-routes-list, with additional functionality to enhance the route listing capabilities. All original credits for the base functionality go to appzcoder.

Installation

To integrate this package into your Lumen application, follow these steps:

  1. Install the package via Composer:

    composer require adoolaard/lumen-routes-list
    
  2. Register the service provider in your Lumen application by adding the following line to your bootstrap/app.php file:

    $app->register(adoolaard\LumenRoutesList\RoutesCommandServiceProvider::class);
  3. Refresh Composer's autoload files:

    composer dump-autoload
    

Usage

With the package installed, you can now use the php artisan route:list command to display all registered routes in your application.

Available commands

Display all routes:

php artisan route:list

Filter the output by specifying the columns you want to include:

php artisan route:list --columns=Verb --columns=Path --columns=NamedRoute

Show a more compact view with essential columns:

php artisan route:list --compact

Display only routes that match a specific HTTP method (e.g., GET, POST):

php artisan route:list --method=GET

*These options can be used individually or combined to customize the output to your specific needs.

Contributing

Contributions to this package are welcome! Feel free to fork the repository, make your improvements, and submit a pull request.

统计信息

  • 总下载量: 206
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 30
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-12-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固