PhpStorm is a commercial cross-platform integrated development environment for PHP [3] . Developed by JetBrains based on the IntelliJ IDEA platform.
| Phpstorm | |
|---|---|
| Type of | |
| Developer | |
| Written on | |
| operating system | , and |
| First edition | |
| Latest version | |
| Release Candidate | |
| condition | active |
| License | |
| Site | |
PhpStorm is an intelligent [4] editor for PHP , HTML and JavaScript with the ability to analyze code on the fly, prevent code errors and automated refactoring tools for PHP and JavaScript. Code completion in PhpStorm supports the PHP 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, and 7.2 specifications (modern and traditional projects), including generators, coroutines, namespaces, closures, traits, and short array syntax. There is a full-fledged SQL editor with the ability to edit the received query results [5] [6] .
PhpStorm is based on the IntelliJ IDEA platform, written in Java . Users can extend the functionality of the development environment by installing plugins designed for the IntelliJ platform, or by writing their own plugins.
All WebStorm functionality is included in PhpStorm.
Key Features
PHP Code Editor
PhpStorm provides a rich and intelligent PHP code editor with code highlighting , advanced code formatting configuration, on-the-fly error checking and smart auto-completion. [7]
- Support for PHP 5.3, 5.4, 5.5, 5.6, 7.0, 7.1 and 7.2, including generators, coroutines, namespaces, closures, traits, syntax of short arrays, access to a member of a class during instantiation, dereferencing an array when calling a function, binary literals, expressions in static calls, etc. PhpStorm can be used for both modern and traditional PHP projects.
- Code completion completes classes, methods, variable names, PHP keywords, and commonly used field and variable names depending on their type.
- Support for code design standards (PSR1 / PSR2, Drupal, Symfony2, Zend).
- PHPDoc support. PhpStorm provides appropriate code completion based on @property, @method, and @var annotations.
- Duplicate Code Detector.
- PHP Code Sniffer (phpcs) checking code on the fly.
- Refactoring (Renaming, Introducing a variable / constant / field, Embedding a variable).
- Support for editing Smarty templates (highlighting syntax errors, auto-completion of Smarty functions and attributes, automatic insertion of pair brackets, quotes and closing tags, etc.).
- MVC presentation for Symfony2 and Yii frameworks .
- Recognition of code packaged in PHAR archives.
Development Environment
- Support for SQL and databases ( Refactoring a database schema, generating script migration scripts, exporting query results to a file or clipboard, editing stored procedures, and much more.
- Remote application deployment and automatic synchronization using FTP , SFTP , FTPS and other protocols.
- Integration with version control systems ( Git - including special functionality for working with GitHub , Subversion , Mercurial , Perforce , CVS , TFS ), allowing you to perform many actions, such as commit, merge, diff and others, directly from PhpStorm.
- Local History (Local history (locally tracks any changes in the code).
- PHP UML ( UML class diagrams for PHP code with refactoring called directly from the diagram).
- Phing support (provides auto-completion, verification of standard tags, properties, target names, path attribute values in build files).
- Integration with bug trackers .
- Support for Docker , Vagrant , SSH Console and Remote Tools
- Support for Google App Engine for PHP
- Use various keyboard shortcuts to increase efficiency.
Debugging and testing
- Easy-to-configure visual debugger ( Xdebug , Zend Debugger) for checking local variables and user-defined tracking objects, including arrays and complex objects, as well as editing values on the fly.
- Profiler integration: scripts can be profiled directly from PhpStorm using Xdebug or Zend Debugger. Aggregate report available; the user can go from execution statistics directly to functions in PHP code.
- Integration with the PHPUnit unit testing framework (PHPUnit tests can be developed in PhpStorm and immediately run from a directory, file or class using the context menu) with code coverage .
Working with JavaScript, CSS, and HTML
All functionality available in WebStorm is included in PhpStorm. Key features:
- Code completion for JavaScript, HTML and CSS (for tags, keywords, labels, variables, parameters and functions).
- HTML5 support.
- Live Edit: Changes to the code can be instantly viewed in a browser without reloading the page.
- Support for CSS / SASS / SCSS / LESS (code completion, error highlighting, validation, etc.).
- Emmet
- Code navigation and search for uses (go to declaration / identifier, find uses)
- ECMAScript Harmony support.
- Refactoring for JavaScript (renaming, highlighting a variable / function, embedding a variable / function, moving / copying, safe deletion, extracting the embedded script into a separate file).
- JavaScript debugger, as well as integration with JavaScript unit testing frameworks.
PHP support in IntelliJ IDEA
JetBrains also provides another, more powerful, integrated development environment - IntelliJ IDEA , in which the capabilities of PhpStorm can be provided using plugins.
Licensing and Upgrade
The product license is permanent and includes one year of free updates (from the date of purchase), including the transition from the current major version to a new one.
The following license types are available:
- Personal license (paid, for individual developers)
- Commercial license (paid, for companies and organizations)
- Academic license (free, for students and teachers)
- License for educational institutions (free)
- License for open source projects (free)
Notes
- ↑ https://blog.jetbrains.com/phpstorm/2018/10/phpstorm-2018-2-5-is-released/
- ↑ https://blog.jetbrains.com/phpstorm/2018/10/phpstorm-2018-3-eap-183-3795-24/
- ↑ Erez Zukerman. Slick PhpStorm Makes Editing JavaScript and PHP Fun . PCWorld (January 12, 2012). Date of treatment January 30, 2013. Archived February 4, 2013.
- ↑ Erez Zukerman. PhpStorm Review . PC Advisor (January 19, 2012). Date of treatment February 19, 2013. Archived March 14, 2013.
- ↑ Darryl K. Taft. JetBrains PhpStorm 5.0 Provides New PHP Framework Support . Eweek (13 September 2012). Date of treatment February 19, 2013. Archived March 14, 2013.
- ↑ Adrian Bridgwater. JetBrains PhpStorm 5.0 Aligns To Symfony2 and Yii . Dr. Dobbs (September 18, 2012). Date of treatment February 19, 2013. Archived March 14, 2013.
- ↑ Bruno Skvorc. PhpStorm - Review and Give Away . PHP Master (August 13, 2012). Date of treatment January 30, 2013. Archived February 4, 2013.
Links
- jetbrains.com/phpstorm - official site of PhpStorm