caner/laravel-helper-commands
最新稳定版本:v1.0.0
Composer 安装命令:
composer require caner/laravel-helper-commands
包简介
Simple Laravel Helper Commands
README 文档
README
Laravel Helper Commands
Installation
You can install the package via composer:
composer require caner/laravel-helper-commands
You can publish the config file with:
php artisan vendor:publish --tag="laravel-helper-commands-config"
This is the contents of the published config file:
<?php /** * Caner/LaravelHelperCommands Config File. */ return [ /** * List all controllers paths. * * This value is used to find all Controller files. */ 'controller_paths' => [ 'App/Http/Controllers', ], /** * List Excluded controllers for permission check. */ 'excluded_controllers_for_permission_check' => [ // 'App\Http\Controllers\TestController' ], ];
Usage
This command list not authorized controller methods. Please see Laravel Authorization Via Controller Helpers ;
php artisan dev:permission-check
This command will list the methods that are in the route but not in the controller;
php artisan dev:missing-routes
This command will list the methods that are in the controller but not in the route;
php artisan dev:missing-controller-methods
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-01-04