jeelsureja/laravel-duplication-checker
Composer 安装命令:
composer require jeelsureja/laravel-duplication-checker
包简介
A Laravel package to detect code duplication.
README 文档
README
This package detects code duplication in Laravel projects and provides warnings via a dedicated route.
Installation
-
Require the package via Composer:
composer require jeelsureja/laravel-duplication-checker
-
Publish the configuration file:
php artisan vendor:publish --tag=config --provider="Jeelsureja\LaravelDuplicationChecker\Providers\DuplicationServiceProvider" -
Run the duplication check command:
php artisan code:check-duplication
Configuration
The configuration file config/duplication.php allows you to customize the directories to be excluded and the route for warnings.
Usage
Navigate to the configured route (default: /duplication/warnings) to see the duplication warnings.
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-06-10