PhpStorm ist eine IDE für die Programmiersprache PHP und basiert auf IntelliJ IDEA. Zu den Features gehören Refactoring, intelligentes Code- und Syntax-Highlighting, PHPUnit-Unterstützung, Tools zur Versionskontrolle sowie vielfältige Möglichkeiten zum automatischen Erstellen von Code. PhpStorm bietet zahlreiche Verbesserungen in den Bereichen PHP-Sprachunterstützung, Editor, Debugging und Codeanalyse sowie zahlreiche leistungsstarke neue Funktionen.
What's new in PhpStorm?
PHP Language & Editing Experience
PHP 7 support
PhpStorm provides extended PHP 7 support, including PHP 7 compatibility inspections.
Improved code completion
Code completion has been significantly reworked.
In-place rename refactoring
When doing refactoring in PhpStorm, you can rename a variable, parameter, class, method, constant or goto label in-place, right in the editor. Thanks to a great innovation in the refactoring engine, you'll now see the item you want to rename highlighted in the editor pane instead of the usual dialog.
Other PHP-related enhancements:
- Duplicates search on extract method
- Smart copy/paste from/in strings
- Ability to configure in Live Templates date () or time () output as the current unix timestamp
New Debugging Experience
Interactive debug console for PHP (REPL)
This brand new feature of PhpStorm allows you to alter variables, call PHP functions, and define additional functions – all on the fly.Call it up and find yourself in a 'sandbox' where you can try out expressions and snippets while staying in the debug context.
Completion in watches pane, evaluation dialog and breakpoint conditions
To further enhance your debugging experience, code completion is now available during debugging in Watches pane, Evaluation dialog, and in breakpoint conditions.
PhpStorm provides Dataflow Analysis features to help you better understand your project's code, interpret complicated parts of code, find bottlenecks in the source code, and more.
Tracing dataflow is especially useful when working with third-party code or working in large teams with shared code.
Frameworks and Tools
PHPUnit 5 support
PhpStorm supports all the new features and improvements in the recently released PHPUnit 5, the most widely used testing framework in PHP. These include:
- New way @depends works,
- Tests marked as @small can also be marked as risky if they perform I/O,
- Added assertations assertFinite(), assertInfinite() and assertNan().
With the new Docker plugin for PhpStorm, you can add Docker support to existing projects, view logs, manage Docker containers from right inside PhpStorm. You can also debug your web applications with either Xdebug or Zend Debugger.
Other improvements include smarty comments folding, and Twig template language which is set automatically for specific file extensions.
In addition to our own efforts to support the latest technologies and tools, the ecosystem of third-party plugins for PhpStorm is evolving at a steady pace. Make sure to check out our repository for new plugins available for various frameworks and tools.
Top-notch Web Technologies
Angular 2 support
Angular 2 support in PhpStorm includes code completion and navigation for directives and bindings, and understanding new event attributes, for either TypeScript or ECMAScript 2015.
PhpStorm provides integration with TSLint, a linter for TypeScript code. Enable it to see warnings and errors from TSLint right in the editor, as you type.
As usual, all features and improvements of WebStorm are available in PhpStorm either out of the box or with free plugins available in the repository. Other noteworthy web-related features include better ECMAScript 2015 support, TypeScript 1.5 and 1.6, improved React support, formatting for chained method calls, new Node.js inspections, flame charts in Node.js CPU profiler, possibility to run a single Mocha test, and more.
Encode HTML special symbols
PhpStorm helps you encode special symbols in HTML code, replacing them with HTML entities that start with &. You can select a symbol or a block of code and invoke Encode XML/HTML Special Characters.
Preview for Find in path
To make the Find in Path action more responsive, the new Preview tab shows the first 100 search results right away. With this feature you can find what you need quicker, without even leaving the dialog.
Adjusting code style settings
Configuring your code style just got easier. Select a code fragment, press Alt+Enter and choose Adjust code style settings action. You will be able to see and adjust the code style settings that can be applied to this piece of code, with a live preview available.
Use the Manage Projects window for better access to all the projects you've recently worked on, and group them the way you like.
Your projects are always at your fingertips, accessible both from PhpStorm Welcome screen and the Manage Projects... pop-up menu within the IDE.
Database tools improvements
On the database side, the following improvements have been implemented by our colleagues from the IntelliJ Team, which are also available in PhpStorm:
- Native introspection for MySQL, PostgreSQL, MS SQL
- Configurable behavior of the Execute action
- New Modify Table window
- RegEx improvements in Find and Replace
- Adjustments for Color Deficiency
- SVN 1.9 compatibility