Configuring Third-Party Tools
You can define third-party standalone applications (code generators and analyzers, pre- and post- processors, database utilities, etc.) as external tools and then run them from PhpStorm.
You can pass contextual information (like the currently selected file, or your project source path) to the external tools, view the tool output, and more.
The tools are defined on the External Tools page in the Settings dialog and appear as commands in the Tools menu and in various context menus. They can also be assigned keyboard shortcuts (see the Configuring Keyboards and Mouse Shortcuts section).