Composer is an indispensable tool; it has been integrated with PhpStorm since version 6.
Prior to version 2017.3, however, the messages from the Composer actions were shown in the Event Log together with all the other messages. When there were a lot of messages, you would have had to scan through them all, just to locate the relevant ones coming from Composer.
To help you with this, we’re introducing the dedicated Composer Log console.
You can open it from top of the composer.json editor panel:
Or from the Event Log action in a message with the command execution result:
In the log, you will see all the Composer-related messages:
Composer Log not only extracts all the relevant messages from the Event Log; It also provides you with several other useful additions to assist you in your daily tasks:
- Let’s say you have just updated a bunch of packages. If they’ve been updated successfully, you probably won’t want to see all the details. For this reason, Composer Log folds the details of successfully executed commands. To view the folded message, simply click the plus icon in the left gutter or hover your mouse over the ellipsis:
- Starting from PhpStorm 2017.2, you can synchronize the IDE settings with the composer.json configuration file, enabling you to automatically set the required PHP language level and configure the project’s Source and Test roots. You can read more about it in this blog post.
If a change in the PhpStorm settings occurs, Composer Log will highlight it and display the Settings icon in the left gutter. Click it to quickly jump to the corresponding settings page:
- You can re-run a command by clicking the Run gutter icon next to it. And if you click the link to the composer.json file in the log, you will instantly open the file in the editor:
Composer Log is one of the many new features available in PhpStorm 2017.3. Stay tuned for more updates!
Your JetBrains PhpStorm Team
The Drive to Develop
Subscribe to Blog updates
Thanks, we've got you!
Qodana Clone Finder: Early Access Program
In December 2020, we announced the EAP for Qodana, which is rapidly evolving into a comprehensive platform that allows companies to perform multi-level evaluations of the quality of code they own, contract, or purchase. Qodana helps you detect bugs without relying on an IDE, either on a local machi…
PhpStorm 2020.2 EAP #3
The Early Access Program for PhpStorm 2020.2 is in full swing and today we’ve got the third build of the 2020.2 EAP for you. In this blog post, you can read about improvements for Git installed in WSL2 and Search Everywhere. Download PhpStorm 2020.2 EAP (more…)…
PhpStorm 2019.3.3 Preview
We’ve just rolled out a preview for the third minor update for PhpStorm 2019.3. Please give the PhpStorm 2019.3.3 Preview build 193.6494.5 a try and share your feedback with us. (more…)…
How to Upgrade to PHP 7.4 with PhpStorm
Check out our fresh video with a few nice tips and tricks on how to update your codebase to PHP 7.4. It combines materials from the PhpStorm 2019.2 and PhpStorm 2019.3 releases, with a few cool bonuses to boot. Nikita drew our attention to the fact that setters are slower than assigning prop…