Configuring PhpStorm for Local PHP, Composer Autoloading, and PHPUnit Execution
A task guide for pointing PhpStorm at a local PHP CLI binary, indexing Composer dependencies, and running PHPUnit from the editor gutter instead of the terminal.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
A task guide for pointing PhpStorm at a local PHP CLI binary, indexing Composer dependencies, and running PHPUnit from the editor gutter instead of the terminal.
PhpStorm's on-the-fly inspections and PHPStan/Psalm serve different purposes. Layer them: IDE for instant syntactic feedback, CLI for whole-program guarantees. Disable auto-runs to avoid UI lag; use Remote Development for large codebases.
Configure PhpStorm directory markers to exclude vendor and generated folders, speeding up indexing and improving PHP code completion for your application code.
A minimal PhpStorm File Watcher design uses one trusted watcher per file type, a restrictive file mask, and a scoped directory to securely trigger external build tools while keeping the IDE responsive.
Learn how to diagnose and fix high CPU usage and infinite indexing loops in PhpStorm by optimizing directory exclusions and JVM memory settings.
A practical guide to enabling Xdebug step‑debugging in PhpStorm without manual port mapping, including prerequisites, steps, and recovery checks.
When PhpStorm shows "Waiting for Xdebug connection…" and breakpoints never hit, the issue is almost always a mis‑configured Xdebug or IDE setting. This guide walks through the most common causes, step‑by‑step checks, fixes, and escalation steps to get your debugging session running again.
A decision guide that compares PhpStorm’s three interpreter options, outlines constraints, and shows how to set up and validate a Docker Compose‑based PHP interpreter.
PhpStorm's built-in SFTP deployment is the smallest design for solo PHP projects. Learn the path mappings, exclusions, trust boundaries, and failure modes before relying on it.