filipefernandes/laravel-ward-ui
Composer 安装命令:
composer require filipefernandes/laravel-ward-ui
包简介
A beautiful built-in dashboard for the Laravel Ward security scanner.
README 文档
README
Laravel Ward UI provides a seamless, stunning interface for reviewing the security vulnerabilities detected by the standalone ward CLI scanner. It integrates directly into your Laravel application, allowing you to browse, search, and filter findings with an interactive dashboard similar to Horizon or Telescope.
Installation
Note: This package requires Laravel 10.x, 11.x, or 12.x and PHP 8.2+.
- Install the package via Composer:
composer require filipefernandes/laravel-ward-ui
- Publish the configuration file and assets:
php artisan vendor:publish --tag=ward-config
Configuration
After publishing its assets, the primary configuration file will be located at config/ward.php. This file allows you to define the route path, domain, dashboard middleware, and the absolute path to where your ward-report.json file is normally generated.
By default, the dashboard is accessible at the /ward route.
Usage
- Run the official Go-based
wardscanner in your project root to generate the JSON report:
ward scan --format json --output ward-report.json
- Open your browser and navigate to
/wardon your local Laravel development server:
http://localhost:8000/ward
You will see a beautiful dashboard visualizing your total findings, severity metrics, and detailed remediation steps for each vulnerability found!
Dashboard Authorization
The Ward UI exposes a dashboard at /ward. By default, you will only be able to access this dashboard if your application environment is set to local. However, you can configure custom access rules via Laravel Gates.
Within your App\Providers\AppServiceProvider or App\Providers\AuthServiceProvider, you may define a viewWard Gate. This authorization gate controls access to the Ward UI in non-local environments. You are free to modify this gate as needed to restrict access to your dashboard:
use Illuminate\Support\Facades\Gate; /** * Bootstrap any application services. * * @return void */ public function boot() { Gate::define('viewWard', function ($user = null) { return in_array($user?->email, [ 'admin@example.com', ]); }); }
Security Vulnerabilities
If you discover a security vulnerability within Laravel Ward UI, please open an issue on the repository or submit a pull request.
License
Laravel Ward UI is open-sourced software licensed under the MIT license.
filipefernandes/laravel-ward-ui 适用场景与选型建议
filipefernandes/laravel-ward-ui 是一款 基于 Blade 开发的 Composer 扩展包,目前已累计 18 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 03 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 filipefernandes/laravel-ward-ui 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 filipefernandes/laravel-ward-ui 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 18
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 30
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-04