PhpStorm is a commercial, cross-platform IDE for PHP, built by the Czech Republic-based company JetBrains. PhpStorm provides an editor for PHP, HTML and JavaScript with on-the-fly code analysis, error prevention and automated refactorings for PHP and JavaScript code. PhpStorm's code completion supports PHP 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3 and 7.4, including generators, coroutines, the finally keyword, list in foreach, namespaces, closures, traits and short array syntax. It includes a full-fledged SQL editor with editable query results. PhpStorm is written in Java. Users can extend the IDE by installing plugins created for PhpStorm or write their own plugins. The software also communicates with external sources like XDebug. All features available in WebStorm are included in PhpStorm, which adds support for PHP and databases. WebStorm ships with pre-installed JavaScript plugins.
PHP 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2 support, including generators, coroutines, the finally keyword, list in foreach, using empty on the result of function calls and other expressions, traits, closures, class member access on instantiation, short array syntax, array dereferencing on function call, binary literals, expressions in static calls, it supports return types and scalar type hints and constant visibility, etc. It can be used for both modern and legacy PHP-based projects.
Code autocompletion finalizes classes, methods, variable names, and PHP keywords, plus commonly used names for fields and variables depending on their type.
Coding style Support.
PHPDoc support. The IDE provides code completion suggestions based on @property, @method and @var annotations.
Easy-to-configure visual debugger for inspecting context-relevant local variables and user-defined watches, including arrays and complex objects, and editing values on the fly.
Scripts can be profiled right from PhpStorm with either XDebug or Zend Debugger. An aggregated report is available, and the user can jump from the execution statistics directly to the function in PHP code.
PHPUnit tests can be developed in PhpStorm and run instantly from a directory, file or class using the context menu options) with code coverage.
In November 2015 JetBrains switched to licensing PhpStorm on a subscription basis. Annual subscriptions or monthly subscriptions maintained for 12 consecutive months also receive a "perpetual fallback license" to the major version available at the time of purchase. PhpStorm is available for individual developers, and business and organizations. Additional discounted and complementary licenses are available for startups, students and teachers, and non-commercial open source projects. These complementary licenses require approval and do not include the perpetual fallback clause, i.e. they expire.