Compatible with: IntelliJ IDEA PhpStorm
Dec 10, 2017
1 131
  • PHP associative array auto-completion inferred from other functions (in other files).
  • Go To key Definition.
  • Specify array keys and reference functions in phpdoc.
  • Preserve type info of object placed in an associative array.
This plugin greatly extends phpstorm's associative array completion and typing

Download plugin

Recent change notes

  • Infer type from `compact()` built-in function
  • Infer type from `array_unshift()` built-in function
  • Infer type from method doc comment in the interface
  • General usage instructions

    Press Ctrl+Space when caret is inside quotes to get completion options for associative array keys. The plugin will analyze your code to gather info about the variable.

    Put caret on the accessed key and press Ctrl+B (or Ctrl+Left Mouse Button) to go to the definition.