Compatible with: IntelliJ IDEA PhpStorm
Apr 16, 2018
4 516
  • 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.
  • Infer argument types inside closures from array_map, array_filter, etc...
This plugin greatly extends phpstorm's associative array completion and typing

Download plugin

Recent change notes

  • Add an option to remove unused use-s on save (just a simple nice feature)
  • Refactor versioned code to Java 10 var-s (I guess I'll run Code Analysis before each production and replace them back to types)
  • 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.