What problem does it solve?
This Skill eliminates the common headaches of debugging Laravel environment configuration, cache, and database connection problems. It prevents wasted time on "why isn't my config working?" scenarios by providing immediate diagnostics and solutions.
Core Features & Use Cases
- Comprehensive Environment Check: Verifies critical settings like
APP_ENV, DB_CONNECTION, SESSION_DRIVER, and CACHE_STORE against expected values for your development environment.
.env File Validation: Ensures your .env file is correctly configured and not being overridden by stale cached configurations.
- Live Database Connection Test: Performs a real-time database connection test, reporting success or detailed error messages to pinpoint connectivity issues.
- Use Case: When you encounter a "Database connection error" or "SQLite connection attempt" after a deployment or local setup, this Skill automatically runs a full diagnostic, identifies the root cause (e.g., wrong
DB_CONNECTION in .env or stale cache), and suggests the exact fix.
Quick Start
My Laravel app is showing a "Database connection error". Please run the env-health skill to diagnose and fix the problem.