定制 sbuicodev/laravel-route-report 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

sbuicodev/laravel-route-report

最新稳定版本:1.0.6

Composer 安装命令:

composer require sbuicodev/laravel-route-report

包简介

A Laravel package that provides a command to analyze route definitions and detect duplicate routes and non-existent actions.

README 文档

README

A Laravel package that provides a command to analyze route definitions and detect duplicate routes and non-existent actions.

Installation

To install this package, run the following command in your terminal:

composer require sbuicodev/laravel-route-report

Usage

To run the route report command, use the following artisan command:

php artisan route:report

This command will display two tables:

  • Duplicate Routes: A list of routes that are defined more than once, along with their corresponding actions.
  • Non-Existent Actions: A list of routes that point to non-existent actions.

Features

  • Detects duplicate routes and displays them in a table format.
  • Identifies non-existent actions and displays them in a table format.
  • Provides a clear and concise report to help you optimize your route definitions.

Requirements

  • Laravel 10.x or higher
  • PHP 8.1 or higher

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvement, please submit a pull request.

License

This package is licensed under the MIT License.

TODO

  • Implement tests

Author

Stefano Buico (sbuicodev)

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-11-19