PhpStorm
 
Get PhpStorm
You are viewing the documentation for an earlier version of PhpStorm.

Composer dependency manager

Last modified: 18 July 2022

PhpStorm integrates with the Composer dependency manager, which allows you to declare packages from Packagist or a custom repository as your project's dependencies and manage them from the IDE.

PhpStorm provides comprehensive coding assistance for working with composer.json as well as the dedicated user interface for running common Composer commands:

When you run the above commands, PhpStorm displays their output via the Composer Log console.

If you wish to use the full range of Composer commands in a PhpStorm project, you can configure and run Composer as an external command-line tool.