kayedspace/laravel-doctor
Composer 安装命令:
composer require kayedspace/laravel-doctor
包简介
A stateless, live analysis engine for Laravel projects
README 文档
README
Laravel Doctor
Laravel Doctor is a command-first diagnostics package for Laravel applications. It exposes one shared analysis engine through Artisan, a browser dashboard, an HTTP API, MCP tools, and a public PHP API.
Note: Public beta is now available.
🌟 Features
- Command-first Diagnostics: Run fast, comprehensive checks directly from your terminal.
- Beautiful Dashboard: A zero-build, Tailwind and Alpine-powered UI to view your reports.
- MCP Integration: First-class tools for AI coding assistants and agent workflows.
- Machine-readable Output: Export scan results as JSON, SARIF, or consume them via HTTP API.
- Shared Engine: A single, robust analysis engine powers the CLI, Dashboard, and APIs simultaneously.
- CI/CD Ready: Built-in support for GitHub Actions and code-scanning workflows.
📖 Full Documentation
The complete, live documentation is available at: https://laravel-doctor.kayed.dev
Please refer to the official documentation for complete usage instructions, configuration options, MCP client setups, GitHub Actions integration, and API references.
✨ Dashboard Preview
Laravel Doctor includes a zero-build browser dashboard to intuitively inspect your application's health.
🚀 Quickstart
1. Installation
composer require kayedspace/laravel-doctor
2. Run Diagnostics
php artisan doctor:scan
3. Open the Dashboard
Visit /_doctor in your local environment.
(If you need to customize the route or access gates, publish the configuration file).
🧩 Architecture
flowchart LR
A[Artisan CLI] --> R[DoctorRequest]
B[Dashboard] --> R
C[HTTP API] --> R
D[MCP Tools] --> R
E[PHP API] --> R
R --> S[Shared Scan Engine]
S --> F[Findings and Report]
Loading
🔐 Security Notes
- Static rules do not boot Laravel.
- Booted runtime rules are designed to remain read-only.
- Reports redact known secret-looking values before serialization.
- Do not expose the dashboard or HTTP API in shared environments without authentication.
🤝 Development & Contributing
See CONTRIBUTING.md for package development and documentation workflow expectations.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2026-07-07