PhpStorm provides rich and intelligent code editor for PHP with syntax highlighting, extended code formatting configuration, on-the-fly error checking, and smart code completion.
PHP Code Completion
Code completion (Ctrl + Space) finalizes classes, methods, variable names, and PHP keywords, plus commonly used names for fields and variables depending on their type.
Code completion only includes local scope on first invocation. Press Ctrl+Space again to see all global variants.
PhpStorm editor respects PHPDoc
code and provides appropriate code completion suggestions based on
When you edit PHPDoc for your code, the variables names and types are auto-completed from the corresponding code blocks.
PHP code refactorings also consider PHPDocs to keep them up-to-date.
Rename refactoring works for files, functions, constants, classes, properties, methods, parameters, local and global variables. Make global project changes easily and safely. Local changes are made instantly in-place.