Diagnostics
29 commandsDiagnostics
devdoctor env
Check dotenv files and configured env rules.
- Module
- env
- Type
- diagnostic
Options
--path=.Project path to inspect default: .--env-file=.envEnv file name default: .env--example=.env.exampleExample env file name default: .env.example--config=devdoctor.ymlDevDoctor config file name default: devdoctor.yml--format=tableOutput format: table, json, or sarif default: table--ciUse CI-safe behavior--strictTreat warnings as errors where supported--only=Comma-separated severities to render: error, warning, info--summary-onlyRender module summaries without issue details--no-hintsHide hints and suggested fixes from output--no-secretsDisable secret scanning for this run
php devdoctor env --strict
Diagnostics
devdoctor cache
Check framework and tool cache directories, size, permissions, and Laravel artifacts.
- Module
- cache
- Type
- diagnostic
Options
--path=.Project path to inspect default: .--format=tableOutput format: table, json, or sarif default: table--ciUse CI-safe behavior--strictTreat warnings as errors where supported--only=Comma-separated severities to render: error, warning, info--summary-onlyRender module summaries without issue details--no-hintsHide hints and suggested fixes from output--max-size=512Maximum expected cache directory size in MiB default: 512
php devdoctor cache --max-size=512
Diagnostics
devdoctor http
Check configured HTTP URLs without making network requests.
- Module
- http
- Type
- diagnostic
Options
--path=.Project path to inspect default: .--format=tableOutput format: table, json, or sarif default: table--ciUse CI-safe behavior--strictTreat warnings as errors where supported--only=Comma-separated severities to render: error, warning, info--summary-onlyRender module summaries without issue details--no-hintsHide hints and suggested fixes from output--url=*Explicit URL target to validate repeatable
php devdoctor http --url=https://example.test
Diagnostics
devdoctor ports
Check local development port conflicts.
- Module
- ports
- Type
- diagnostic
Options
--path=.Project path to inspect default: .--port=*Specific port to inspect repeatable--ports=Comma-separated ports to inspect--commonCheck built-in common development ports--include-dockerAttempt to correlate Docker port usage when available--format=tableOutput format: table, json, or sarif default: table--ciUse CI-safe behavior--strictTreat warnings as errors where supported--only=Comma-separated severities to render: error, warning, info--summary-onlyRender module summaries without issue details--no-hintsHide hints and suggested fixes from output
php devdoctor ports --common
Diagnostics
devdoctor php
Check PHP runtime, composer platform requirements, memory, php.ini, and Xdebug in CI.
- Module
- php
- Type
- diagnostic
Options
--path=.Project path to inspect default: .--format=tableOutput format: table, json, or sarif default: table--ciUse CI-safe behavior--strictTreat warnings as errors where supported--only=Comma-separated severities to render: error, warning, info--summary-onlyRender module summaries without issue details--no-hintsHide hints and suggested fixes from output--minimum-memory=128Minimum expected PHP memory_limit in megabytes default: 128
php devdoctor php --ci
Diagnostics
devdoctor node
Check Node.js project and package manager health.
- Module
- node
- Type
- diagnostic
Options
--path=.Project path to inspect default: .--format=tableOutput format: table, json, or sarif default: table--ciUse CI-safe behavior--strictTreat warnings as errors where supported--only=Comma-separated severities to render: error, warning, info--summary-onlyRender module summaries without issue details--no-hintsHide hints and suggested fixes from output
php devdoctor node
Diagnostics
devdoctor frontend
Check frontend presets and build readiness for Vite, Next.js, Nuxt, Astro, and generic frontend projects.
- Module
- frontend
- Type
- diagnostic
Options
--path=.Project path to inspect default: .--format=tableOutput format: table, json, or sarif default: table--ciUse CI-safe behavior--strictTreat warnings as errors where supported--only=Comma-separated severities to render: error, warning, info--summary-onlyRender module summaries without issue details--no-hintsHide hints and suggested fixes from output
php devdoctor frontend
Diagnostics
devdoctor flutter
Check Flutter and Dart pubspec, lockfiles, SDK constraints, dependency sources, and platform markers.
- Module
- flutter
- Type
- diagnostic
Options
--path=.Project path to inspect default: .--format=tableOutput format: table, json, or sarif default: table--ciUse CI-safe behavior--strictTreat warnings as errors where supported--only=Comma-separated severities to render: error, warning, info--summary-onlyRender module summaries without issue details--no-hintsHide hints and suggested fixes from output
php devdoctor flutter
Diagnostics
devdoctor mobile
Check native Android and iOS project markers, wrappers, debug flags, and lockfiles.
- Module
- mobile
- Type
- diagnostic
Options
--path=.Project path to inspect default: .--format=tableOutput format: table, json, or sarif default: table--ciUse CI-safe behavior--strictTreat warnings as errors where supported--only=Comma-separated severities to render: error, warning, info--summary-onlyRender module summaries without issue details--no-hintsHide hints and suggested fixes from output
php devdoctor mobile
Diagnostics
devdoctor monorepo
Check monorepo tooling, workspace lockfiles, and root package scripts.
- Module
- monorepo
- Type
- diagnostic
Options
--path=.Project path to inspect default: .--format=tableOutput format: table, json, or sarif default: table--ciUse CI-safe behavior--strictTreat warnings as errors where supported--only=Comma-separated severities to render: error, warning, info--summary-onlyRender module summaries without issue details--no-hintsHide hints and suggested fixes from output
php devdoctor monorepo
Diagnostics
devdoctor python
Check Python manifests and dependency manager health for pip, Poetry, Pipenv, uv, and Conda.
- Module
- python
- Type
- diagnostic
Options
--path=.Project path to inspect default: .--format=tableOutput format: table, json, or sarif default: table--ciUse CI-safe behavior--strictTreat warnings as errors where supported--only=Comma-separated severities to render: error, warning, info--summary-onlyRender module summaries without issue details--no-hintsHide hints and suggested fixes from output
php devdoctor python
Diagnostics
devdoctor ruby
Check Ruby and Rails manifests, lockfiles, versions, credentials, database config, and gem sources.
- Module
- ruby
- Type
- diagnostic
Options
--path=.Project path to inspect default: .--format=tableOutput format: table, json, or sarif default: table--ciUse CI-safe behavior--strictTreat warnings as errors where supported--only=Comma-separated severities to render: error, warning, info--summary-onlyRender module summaries without issue details--no-hintsHide hints and suggested fixes from output
php devdoctor ruby
Diagnostics
devdoctor go
Check Go modules, sums, workspaces, local replace directives, toolchain directives, and vendor metadata.
- Module
- go
- Type
- diagnostic
Options
--path=.Project path to inspect default: .--format=tableOutput format: table, json, or sarif default: table--ciUse CI-safe behavior--strictTreat warnings as errors where supported--only=Comma-separated severities to render: error, warning, info--summary-onlyRender module summaries without issue details--no-hintsHide hints and suggested fixes from output
php devdoctor go
Diagnostics
devdoctor rust
Check Cargo manifests, lockfiles, workspaces, toolchains, dependency sources, and release profiles.
- Module
- rust
- Type
- diagnostic
Options
--path=.Project path to inspect default: .--format=tableOutput format: table, json, or sarif default: table--ciUse CI-safe behavior--strictTreat warnings as errors where supported--only=Comma-separated severities to render: error, warning, info--summary-onlyRender module summaries without issue details--no-hintsHide hints and suggested fixes from output
php devdoctor rust
Diagnostics
devdoctor java
Check Maven, Gradle, Ant, wrappers, Java versions, risky build scripts, and Spring profile red flags.
- Module
- java
- Type
- diagnostic
Options
--path=.Project path to inspect default: .--format=tableOutput format: table, json, or sarif default: table--ciUse CI-safe behavior--strictTreat warnings as errors where supported--only=Comma-separated severities to render: error, warning, info--summary-onlyRender module summaries without issue details--no-hintsHide hints and suggested fixes from output
php devdoctor java
Diagnostics
devdoctor mcp
Check MCP server configuration files across common agent clients, secret hygiene, remote URLs, env references, supply-chain pins, optional project policies, and risky commands without starting servers.
- Module
- mcp
- Type
- diagnostic
Options
--path=.Project path to inspect default: .--format=tableOutput format: table, json, or sarif default: table--ciUse CI-safe behavior--strictTreat warnings as errors where supported--config=Specific MCP config file to inspect--allow-command=Comma-separated stdio command names allowed by project policy--deny-command=Comma-separated stdio command names denied by project policy--disallow-remoteReport remote MCP servers as policy violations--only=Comma-separated severities to render: error, warning, info--summary-onlyRender module summaries without issue details--no-hintsHide hints and suggested fixes from output
php devdoctor mcp --disallow-remote --allow-command=node,npx
Diagnostics
devdoctor iac
Check Terraform, OpenTofu, and Terragrunt manifests, lockfiles, module refs, and secret hygiene.
- Module
- iac
- Type
- diagnostic
Options
--path=.Project path to inspect default: .--format=tableOutput format: table, json, or sarif default: table--ciUse CI-safe behavior--strictTreat warnings as errors where supported--only=Comma-separated severities to render: error, warning, info--summary-onlyRender module summaries without issue details--no-hintsHide hints and suggested fixes from output
php devdoctor iac
Diagnostics
devdoctor kube
Check Kubernetes manifests and Helm charts, locks, images, services, and secret hygiene.
- Module
- kube
- Type
- diagnostic
Options
--path=.Project path to inspect default: .--format=tableOutput format: table, json, or sarif default: table--ciUse CI-safe behavior--strictTreat warnings as errors where supported--only=Comma-separated severities to render: error, warning, info--summary-onlyRender module summaries without issue details--no-hintsHide hints and suggested fixes from output
php devdoctor kube
Diagnostics
devdoctor dotnet
Check .NET solutions, projects, SDK pinning, target frameworks, lock mode, and NuGet sources.
- Module
- dotnet
- Type
- diagnostic
Options
--path=.Project path to inspect default: .--format=tableOutput format: table, json, or sarif default: table--ciUse CI-safe behavior--strictTreat warnings as errors where supported--only=Comma-separated severities to render: error, warning, info--summary-onlyRender module summaries without issue details--no-hintsHide hints and suggested fixes from output
php devdoctor dotnet
Diagnostics
devdoctor cpp
Check C/C++ build files, dependency managers, compile commands, and portability risks.
- Module
- cpp
- Type
- diagnostic
Options
--path=.Project path to inspect default: .--format=tableOutput format: table, json, or sarif default: table--ciUse CI-safe behavior--strictTreat warnings as errors where supported--only=Comma-separated severities to render: error, warning, info--summary-onlyRender module summaries without issue details--no-hintsHide hints and suggested fixes from output
php devdoctor cpp
Diagnostics
devdoctor web
Check generic web entry files, asset references, public config, server hints, and port declarations.
- Module
- web
- Type
- diagnostic
Options
--path=.Project path to inspect default: .--format=tableOutput format: table, json, or sarif default: table--ciUse CI-safe behavior--strictTreat warnings as errors where supported--only=Comma-separated severities to render: error, warning, info--summary-onlyRender module summaries without issue details--no-hintsHide hints and suggested fixes from output
php devdoctor web
Diagnostics
devdoctor laravel
Check Laravel .env, APP_KEY, debug mode, APP_URL, runtime directories, and config cache.
- Module
- laravel
- Type
- diagnostic
Options
--path=.Project path to inspect default: .--format=tableOutput format: table, json, or sarif default: table--ciUse CI-safe behavior--strictTreat warnings as errors where supported--only=Comma-separated severities to render: error, warning, info--summary-onlyRender module summaries without issue details--no-hintsHide hints and suggested fixes from output
php devdoctor laravel
Diagnostics
devdoctor symfony
Check Symfony .env hygiene, APP_SECRET, runtime directories, recipe drift, and Composer scripts.
- Module
- symfony
- Type
- diagnostic
Options
--path=.Project path to inspect default: .--format=tableOutput format: table, json, or sarif default: table--ciUse CI-safe behavior--strictTreat warnings as errors where supported--only=Comma-separated severities to render: error, warning, info--summary-onlyRender module summaries without issue details--no-hintsHide hints and suggested fixes from output
php devdoctor symfony
Diagnostics
devdoctor security
Check env examples, hard-coded secrets, risky scripts, and risky Compose settings.
- Module
- security
- Type
- diagnostic
Options
--path=.Project path to inspect default: .--format=tableOutput format: table, json, or sarif default: table--ciUse CI-safe behavior--strictTreat warnings as errors where supported--only=Comma-separated severities to render: error, warning, info--summary-onlyRender module summaries without issue details--no-hintsHide hints and suggested fixes from output
php devdoctor security
Diagnostics
devdoctor composer
Check Composer project health without install/update.
- Module
- composer
- Type
- diagnostic
Options
--path=.Project path to inspect default: .--format=tableOutput format: table, json, or sarif default: table--ciUse CI-safe behavior--strictTreat warnings as errors where supported--only=Comma-separated severities to render: error, warning, info--summary-onlyRender module summaries without issue details--no-hintsHide hints and suggested fixes from output--no-scriptsSkip Composer script inspection--no-platform-checkSkip local platform checks--no-validateSkip composer validate
php devdoctor composer
Diagnostics
devdoctor db
Check database environment configuration, with optional read-only PDO connection checks.
- Module
- db
- Type
- diagnostic
Options
--path=.Project path to inspect default: .--format=tableOutput format: table, json, or sarif default: table--ciUse CI-safe behavior--strictTreat warnings as errors where supported--only=Comma-separated severities to render: error, warning, info--summary-onlyRender module summaries without issue details--no-hintsHide hints and suggested fixes from output--connectAttempt a read-only PDO connection check
php devdoctor db --connect
Diagnostics
devdoctor queue
Check queue environment configuration and production sync risks.
- Module
- queue
- Type
- diagnostic
Options
--path=.Project path to inspect default: .--format=tableOutput format: table, json, or sarif default: table--ciUse CI-safe behavior--strictTreat warnings as errors where supported--only=Comma-separated severities to render: error, warning, info--summary-onlyRender module summaries without issue details--no-hintsHide hints and suggested fixes from output
php devdoctor queue --strict
Diagnostics
devdoctor git
Check repository hygiene and sensitive files.
- Module
- git
- Type
- diagnostic
Options
--path=.Project path to inspect default: .--format=tableOutput format: table, json, or sarif default: table--ciUse CI-safe behavior--strictTreat warnings as errors where supported--only=Comma-separated severities to render: error, warning, info--summary-onlyRender module summaries without issue details--no-hintsHide hints and suggested fixes from output--require-cleanReturn an error when the worktree is dirty--require-upstreamReturn an error when the current branch has no upstream--scan-sensitiveScan tracked and untracked sensitive files--scan-large-filesScan untracked files above the configured size threshold--large-file-threshold=10MSize threshold for --scan-large-files default: 10M
php devdoctor git --require-clean
Diagnostics
devdoctor docker
Check Compose files, daemon state, ports, and containers.
- Module
- docker
- Type
- diagnostic
Options
--path=.Project path to inspect default: .--format=tableOutput format: table, json, or sarif default: table--ciUse CI-safe behavior--strictTreat warnings as errors where supported--only=Comma-separated severities to render: error, warning, info--summary-onlyRender module summaries without issue details--no-hintsHide hints and suggested fixes from output--compose-file=Compose file to inspect--no-daemonSkip Docker daemon checks--no-containersSkip Compose container status checks
php devdoctor docker --compose-file=docker-compose.yml