Laravel Doctor
Instantly diagnose config, performance & production safety issues.
php artisan doctor:check
Why it exists
Production misconfigurations are easy to miss but costly. Laravel Doctor catches them before they hit users.
Catch issues early
Debug mode on in prod, file-based cache, sync queueβLaravel Doctor surfaces them before they impact users.
Runs locally
No external services, API calls, or network. Perfect for CI pipelines and pre-deploy checks.
Actionable output
Every finding includes clear recommendations so you know exactly what to fix.
When to use it
Laravel Doctor fits seamlessly into your workflow.
Pre-deploy checks
Run before every deploy to catch config mistakes.
CI/CD pipelines
Add to GitHub Actions or any CI for automated checks.
Local development
Verify your setup matches production expectations.
Onboarding audits
Quickly audit a new project or codebase.
Advantages
Why teams choose Laravel Doctor.
Zero external dependencies
No API keys, no cloud services. Everything runs locally.
Extensible architecture
Add custom checks that fit your team's standards.
Fast & lightweight
Completes in milliseconds. No noticeable overhead.
Configurable
Enable, disable, or skip checks per environment.
What it checks
14 built-in checks covering config, performance, and safety.
Example output
See what Laravel Doctor reports at a glance.
docs/assets/output-preview.png for screenshotInstallation
composer require codevioso/laravel-doctor
Usage
php artisan doctor:check
Options: --only=CheckName, --skip=CheckName, --demo
Extensibility
Register custom checks with the Doctor service.
use Codevioso\LaravelDoctor\Doctor;
public function boot()
{
app(Doctor::class)->registerCheck(App\Doctor\MyCustomCheck::class);
}
Documentation
Everything you need to get started and customize Laravel Doctor.