Software Update: PhpStorm 2019.1.2

JetBrains releases several development environments, such as IntelliJ Idea targeting Java, CLion targeting C and C++, DataGrip targeting SQL and PhpStorm targeting PHP. PhpStorm offers on-the-fly error prevention, autocompletion, code refactoring, and debugging, and can also handle HTML, CSS, Coffee, and JavaScript. For an overview of the possibilities, we refer to this page. To use PhpStorm is a license required. For business and home use you will have to pay for it, but if the software is used for education or non-commercial open source projects, the license is free. JetBrains has released PhpStorm 2019.1.2 and the most important changes that have been made are listed for you below.

PHPStorm 2019.1.2 build 191.7141.52 is now available!

In this second minor update for the PHPStorm 2019.1 we are happy to bring you support for Composer via Docker. This release also contains a Blade templates debugging fix, and a bunch of other bug fixes and improvements for PHP, the Web, and includes all the latest improvements made to the IntelliJ Platform.

Support Docker for Composer execution

The usage of containerized environments by PHP developers is steadily growing by roughly 12% each year – from 18% in 2017, to 30% in 2018, to 42% in 2019, according to The State of Developer Ecosystem Survey. While PhpStorm supports PHP interpreters via Docker and Docker-compose, it still had some parts missing. One of these is Composer integration. You needed a local PHP setup in order to run it. But it could be that this differs from the one you have in your containerized dev environment, or you might not even have a local PHP interpreter at all both of which might cause problems.

In PhpStorm 2019.1.2, this is finally solved. You are now able to run Composer via any Docker image (WI-45865).

Under Preferences | Languages ​​& Frameworks | PHP | Composer you can find a new Docker radio button option, where you’ll be able to configure the Docker server (this is not a PHP server), as well as provide an image, the Composer executable name, and the container options:

This feature is a subset of a broader request to support Composer via any remote PHP interpreter (WI-23544). According to the survey and stats, the main use-case is Docker, which is why we have started with this first. We would like to hear from you on how you like the current implementation, then based on this feedback we will try to improve and expand it to the other use-cases.

Support new format or Blade debug info

We’ve added support for debugging blade templates in PHPStorm 2019.1. due to a bugthe debug info format, which is needed for PhpStorm to map compiled files to original templates, since a change was made in Laravel 5.8.11. The current PhpStorm build brings debugging Blade templates experience back (WI-46191) for Laravel 5.8.11+.
Thanks a lot to the Laravel community for help with this issue!

Other notable changes:

  • Fixed: Open recent menu doesn’t display project group if any (IDEA-168223 +55)
  • Fixed: Move Caret to Matching Brace moves to wrong position (IDEA-210104 +12)
  • Fixed: Terminal tabs can’t be reordered (IDEA-202809 +10)
  • Fixed: High CPU usage, code analysis never completes when resolving references from “reselect” module (WEB-38158 +9)
  • Fixed: JDK 11: Response handler doesn’t work (Nashorn is removed) (WI-45704 +6)

You can find the full list of bug-fixes and improvements in the release notes.

Version number 2019.1.2
Release status Final
Operating systems Windows 7, Linux, macOS, Windows 8, Windows 10
Website JetBrains
License type Freeware/Paid