ARTICLE

Composer command helper plugin

April 21, 2025
mili
38 min read
Composer command helper plugin

How to handle the command's with magic.

Magic is on the ui with some buttons to help you!

Location: Top-right sidebar in PhpStorm ๐Ÿ“

This plugin helps you run Composer commands, manage dependencies, and interact with your PHP environment โ€” all from an intuitive panel inside PhpStorm.

Article image

๐Ÿ”น 1. Opening the Panel

๐Ÿ“Œ Youโ€™ll find ComposerCommandHelper in the top-right sidebar of PhpStorm.

1. Just click the icon (it usually looks like a Composer logo or puzzle piece ๐Ÿงฉ)

2. The panel will slide open, revealing all plugin features

๐Ÿ”น 2. Choosing a PHP Interpreter ๐Ÿ˜

At the top of the panel, you'll see a PHP Interpreter dropdown.

1. Select any interpreter configured in PhpStorm (local, Docker, remote, etc.)

2. The selected interpreter will be used to run all Composer commands.

๐Ÿ’ก Tip: Make sure your interpreter has Composer installed!

Article image

๐Ÿ”น 3. Viewing Composer Commands โš™๏ธ

Once an interpreter is selected, the plugin automatically loads:

๐Ÿ“ Default Commands These are standard Composer commands, such as:

install

update

dump-autoload

validate, show, and more

๐Ÿ“ Project Tasks These are custom scripts defined in your composer.json under the scripts section.

๐ŸŸข Each command has a Run button (โ–ถ๏ธ) next to it โ€” just click to execute.

Article image

Article image

๐Ÿ”น 5. Managing Dependencies ๐Ÿ“ฆ

The Dependencies section shows all installed Composer packages and PHP extensions.

๐Ÿ—‘๏ธ Uninstalling Double-click any listed dependency to uninstall it.

๐Ÿ” Installing New Packages 1. Use the search box under the dependency list

2. Type a package name (e.g., guzzlehttp/guzzle)

3. Click Search

4. Click Install Package

Installed packages will automatically be added to your composer.json and installed in your project.

Article image

Deleting package by double clicking

Article image

Installing a package

Article image

Article image

Article image

Article image

Article image

You can install it from here

:

mili
Software Engineer & Writer