
To add a dependency, simply start typing a vendor and a package name, and PhpStorm will suggest appropriate options. The template of this file can be found in Preferences/Settings | Editor | File and Code Templates.


You can create a new file composer.json from the context menu or by pressing Ctrl(⌘)+N. Fasten your seat belts, though, as we have a ton of GIFs for you!Īll dependency management actions are now available directly as you edit the composer.json file. If you have more time to spare, read on for an overview of all the changes and things that you should know about this new version.

If you have only a few minutes, watch the What’s New in 2020.1 video above to get a rundown of the major enhancements. This major release includes out-of-the-box composer.json support, code coverage with PCOV and PHPDBG, PHPUnit toolbox, new inspections, quick-fixes, and refactorings, advanced grammar checker, and many more benefits.
