Looking to hire Laravel developers? Try LaraJobs

laravel-doctor maintained by kayedspace

Description
A stateless, live analysis engine for Laravel projects
Last update
2026/07/07 20:42 (dev-main)
License
Links
Downloads
1

Comments
comments powered by Disqus

Laravel Doctor

Tests PHP Laravel License Documentation

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]

🔐 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.