PhpStorm composer manage dependencies

PhpStorm Command line tool

If you have a project which has already the composer.json file and you want to add some php packages to it you can find manage dependencies menu here:

Then a Manage Composer Dependencies window will appear and we can search and add what package we want and determine the specific version we need.

This feature is in PhpStorm since 2017 ( read here )

Also we can activate command line tool in the project.

In the editor preferences (setting) (cmd ,) search this : command line

Then click on the + sign

Then press double ^ (control key) to appear the window for “run anything” and then type and execute the commands. To disappear you just need again press double ^.

Posting daily about Python, Nuclear Physicist PhD