PHPackages                             kayedspace/laravel-doctor - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. kayedspace/laravel-doctor

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

kayedspace/laravel-doctor
=========================

A stateless, live analysis engine for Laravel projects

v1.0.0(3d ago)01Apache-2.0PHP ^8.2 || ^8.3 || ^8.4 || ^8.5

Since Jul 7Compare

[ Source](https://github.com/kayedspace/laravel-doctor)[ Packagist](https://packagist.org/packages/kayedspace/laravel-doctor)[ RSS](/packages/kayedspace-laravel-doctor/feed)WikiDiscussions Synced today

READMEChangelog (1)Dependencies (11)Versions (2)Used By (0)

 [ ![Laravel Doctor](https://raw.githubusercontent.com/kayedspace/laravel-doctor-docs/main/src/public/laravel-doctor-logo.svg) ](https://laravel-doctor.kayed.dev)

Laravel Doctor
==============

[](#laravel-doctor)

[![Tests](https://github.com/kayedspace/laravel-doctor/actions/workflows/tests.yml/badge.svg)](https://github.com/kayedspace/laravel-doctor/actions/workflows/tests.yml)[![PHP](https://camo.githubusercontent.com/5ed842996550cad148e16d3ad4738491b8319d2fbf7bba88eeeee0cb4bf9b736/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e322532422d373737626234)](https://www.php.net/)[![Laravel](https://camo.githubusercontent.com/d32b1094a56038f41cd10965d24762922b6ac62c4f442bc9613f26e49cc21338/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d2532303131253230253743253230313225323025374325323031332d663535323437)](https://laravel.com/)[![License](https://camo.githubusercontent.com/5b60841bea9e11d9d0b0950d690c9bc554e06385634056a7d5d62a15d1a4eabe/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4170616368655f322e302d626c75652e737667)](https://opensource.org/licenses/Apache-2.0)[![Documentation](https://camo.githubusercontent.com/7061e8cbda60329fbca9b6da211cde3315fe0d34a2cfb95d2155686e270fcb85/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f63732d6c61726176656c2d2d646f63746f722e6b617965642e6465762d627269676874677265656e2e737667)](https://laravel-doctor.kayed.dev)

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

[](#-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
--------------------

[](#-full-documentation)

The complete, live documentation is available at:

Please refer to the official documentation for complete usage instructions, configuration options, MCP client setups, GitHub Actions integration, and API references.

✨ Dashboard Preview
-------------------

[](#-dashboard-preview)

Laravel Doctor includes a zero-build browser dashboard to intuitively inspect your application's health.

 [ ![Laravel Doctor dashboard home](https://raw.githubusercontent.com/kayedspace/laravel-doctor-docs/main/src/public/dashboard-home.png) ](https://laravel-doctor.kayed.dev)

 [ ![Laravel Doctor dashboard reports view](https://raw.githubusercontent.com/kayedspace/laravel-doctor-docs/main/src/public/dashboard-report.png) ](https://laravel-doctor.kayed.dev)

🚀 Quickstart
------------

[](#-quickstart)

### 1. Installation

[](#1-installation)

```
composer require kayedspace/laravel-doctor
```

### 2. Run Diagnostics

[](#2-run-diagnostics)

```
php artisan doctor:scan
```

### 3. Open the Dashboard

[](#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
--------------

[](#-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
----------------

[](#-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 &amp; Contributing
--------------------------------

[](#-development--contributing)

See [CONTRIBUTING.md](CONTRIBUTING.md) for package development and documentation workflow expectations.

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance99

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/115418091?v=4)[Ali Youssef Kayed](/maintainers/kayedspace)[@kayedspace](https://github.com/kayedspace)

---

Tags

phplaravelautomationanalysisdiagnose

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/kayedspace-laravel-doctor/health.svg)

```
[![Health](https://phpackages.com/badges/kayedspace-laravel-doctor/health.svg)](https://phpackages.com/packages/kayedspace-laravel-doctor)
```

###  Alternatives

[laravel/boost

Laravel Boost accelerates AI-assisted development by providing the essential context and structure that AI needs to generate high-quality, Laravel-specific code.

3.5k21.5M627](/packages/laravel-boost)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M216](/packages/laravel-ai)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.3M347](/packages/psalm-plugin-laravel)[livewire/flux

The official UI component library for Livewire.

9527.8M132](/packages/livewire-flux)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M133](/packages/roots-acorn)[laravel/surveyor

Static analysis tool for Laravel applications.

86121.4k14](/packages/laravel-surveyor)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
