typehints/laravel-unused
Composer 安装命令:
composer require typehints/laravel-unused
包简介
Unused Views,Controllers,.. for Laravel
README 文档
README
Introduction
LaraveUnused provides a UI where you can preview unused views from scanning all the routes on your application. It also allows you to see more data about used views like the action code where the view is being used / the partials that are used on a specific view / the views that a route is triggering...
Installation
You can install the package via composer:
composer require typehints/laravel-unused
You have to publish the package configuration using:
php artisan vendor:publish --provider=TypeHints\\Unused\\ServiceProvider
This will publish config/laravel-unused.php and vendor/laravel-unused
Usage
You just need to visit /laravelunused if you didn't change route_prefix in your config (make sure debug mode is true)
You can also add your own middelwares on config/laravel-unused.php
'middleware' => [ TypeHints\Unused\Middleware\LaravelUnusedMiddleware::class, // Custom Middleware ],
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email mohamed@typehints.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see the License File for more information.
typehints/laravel-unused 适用场景与选型建议
typehints/laravel-unused 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 3.33k 次下载、GitHub Stars 达 48, 最近一次更新时间为 2020 年 03 月 12 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「unused」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 typehints/laravel-unused 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 typehints/laravel-unused 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 typehints/laravel-unused 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Magento 2 clean unused product images
Generates a report on potentially unused files for CMS users
GrumPHP extension for run Composer Unused
Alfabank REST API integration
Generates a report on potentially unused files for CMS users
Janitor is a tool to help you remove unused code, views and assets from your codebase.
统计信息
- 总下载量: 3.33k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 48
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-03-12
