Laravel News
Read post

Laravel Doctor: Diagnose Your App With One Artisan Command

Laravel Doctor is a new first-party package announced at Laracon US 2026 that adds a `php artisan doctor` command to run health checks against a Laravel application. It covers environment setup (APP_KEY, PHP version, extensions), Composer dependencies, configuration, database connectivity, cache/queue/session drivers, storage permissions, and security settings. Checks return one of six statuses and the tool can auto-fix many issues with `--fix`. It supports environment-aware logic (local vs. production), custom diagnostics registered by third-party packages, CI-friendly JSON and GitHub Actions output formats, and a special agent-optimized output format for AI coding tools like Claude Code or Cursor. Requires PHP 8.3 and Laravel 12 or 13.

    #cicd#php#laravel
Aug 03•6m read time•From laravel-news.com
Post cover image
Table of contents
# How It Works# Getting Started# Custom Diagnostics# Output for CI and AI Agents# Learn More
8 Impressions
Laravel News's image
Laravel News

2.2K Followers

•

14.8K Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard