Built-in Command Line Tool support plugin provides autocompletion and documentation for any command line based tools. It needs just an xml commands description to support new tool. We plan to add automatic recognition of composer and other popular tools in future, but you can have it working today.
To get Composer dependency manager support in PhpStorm you need to open Settings | Command Line Tool Support and add custom configuration:
Image may be NSFW.
Clik here to view.
Set up alias you’d like to invoke and <php path> <composer path> in Tool Path, and then apply changes.
Image may be NSFW.
Clik here to view.
Then open xml description in editor by pressing Image may be NSFW.
Clik here to view. and close settings. Copy and paste content of <framework> element from here. Or copy whole description, but then check alias and tool path of Composer in Settings. Voila!
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Develop with pleasure!