PhpStorm is a cross-platform Java-based integrated development environment (IDE) for PHP and web developers. It is built on IntelliJ IDEA, which is written in Java. Installing plugins created for the IntelliJ Platform or write their own plugins.
This software optimizes excellent coding assistance, in-depth code understanding, and support for major IDE frameworks and PHP tools.
It brings an impressive set of features at your fingertips and allows you to add plenty of plugins to expand its features for increased productivity and convenience.
This software works perfectly with Magento, Drupal, Symfony, Zend Framework, WordPress, Joomla, CakePHP, Laravel.
It utilizes ground-breaking front-end technologies and avails robust refactoring, unit testing, and debugging tools.
Developers carry a conducive development environment with them. This makes it ideal for users looking to enforce specific coding styles, rules, and PSR standards for each project.
Refactoring feature allows you to reliably refactor codes with multiple refactoring which include extract method, rename, delete, move, inline variable, change signature, and many others.
It provides language-specific refactoring that empowers developers to handle project-wide changes without a hassle. You can easily refactor your entire PHP namespace with a few clicks and safely undo the changes effortlessly.
The application focus on help users creates and modify source code, no matter which programming language they are using.
Like any other IDE editor, it comes with basic features such as bookmarks, code completion, zooming, breakpoints, etc. However, it contains various features like macros, code analysis and fast navigation that make your work much easier.
After launching the application for the first time, you need to create a new project or simply open an existing one.
Then, navigate to the Project section, which is located in the left panel of the main window, right-click on it and open a new file, directory, PHP or HTML file or XSLT stylesheet.
After that, a new tab will open and allows you to input your scripts the way you want and compile them to see errors or warnings are presented.
You can access advanced tools from the bottom of the main window. It allows you to look at your project from different perspectives and provide you with access to typical development tasks.
Its tools are referring to project management, source code search, running and debugging, integrations and other useful tasks.
Because it comes with an intuitive interface and well-organized menus, it enables you to quickly navigate to a specific class, symbol, line or custom region using the ‘Navigate’ menu.
Also, you can view all the bookmarks and inherited members or jump to a specific declaration.
The ‘Run’ menu helps you to run scripts within seconds. You are able to edit the Run/Debug configurations as well by changing the interpreter options and the custom working directory.
You can quickly analyze a specific expression, view the execution point and breakpoints, resume the program or debug the scripts.
Smart PHP Code Editor: The IDE provides smart code completion, syntax highlighting, extended code formatting configuration, on-the-fly error checking, code folding, supports language mixtures and more.
Code Quality Analysis: Hundreds of code inspections verify your code as you type and inspect the whole project for possible errors or code smells. Quick-fixes for most inspections make it easy to fix.
Easy Code Navigation & Search: It helps you get around your code more efficiently and save time when working with large projects. Jump to a method, function or variable definition in just one click, or search for its usages.
Debugging: Zero-configuration debugging makes it really easy to debug your PHP applications.
It provides numerous options for debugging your PHP code with Visual Debugger, so you can: inspect variables and user-defined watches, set breakpoints and evaluate an expression.
Testing: You can develop PHPUnit tests right in PhpStorm and run them instantly from a directory, file or class, by using the context menu options. Code Coverage from PHPUnit shows how much of your code is covered with tests.
Profiling: You can profile your applications with Xdebug or Zend Debugger and check aggregated reports.
HTML and CSS Editor: All the cutting edge web development technologies are supported including HTML 5, CSS, SASS,SCSS, LESS, CoffeeScript, ECMAScript Harmony, Jade templates, etc.
Live Edit gives you an opportunity to see all the changes instantly in the browser without refreshing the page.
New Technologies: PhpStorm provides a streamlined experience for the full development cycle with new languages such as TypeScript, CoffeeScript, and Dart.
VCS: PhpStorm provides a unified UI for working with many popular Version Control Systems, ensuring a consistent user experience across git, GitHub, SVN, Mercurial, and Perforce.
Databases & SQL:PhpStorm provides tools and code assistance features for working with databases and SQL in your projects. Connect to databases, edit schemas and table data, run queries, and even analyze schemas with UML diagrams.
SQL code can be injected to other languages or edited in SQL Editor, with syntax highlighting, smart code completion, on-the-fly code analysis, code formatting and navigation available.
Other Features: Perform many routine tasks right from the IDE with support for Vagrant support, Docker, Composer, and more.
What’s new in Php Storm
Now you can execute the actions (Update, Install, Remove, Self-update) directly from the IDE, without having to switch to the command line.
Also, the app and composer.json settings are now synchronized, which ensures that PHP Language Level, the tool Source and Test folders exactly match the project settings and structure specified in composer.json.
PHP interpreter based on Docker Compose is now supported in Php Storm.
Docker Compose interpreter includes the familiar features of remote interpreters, so you can run/debug PHP code, and execute/debug PHPUnit, Codeception, Behat, and PHPSpec tests.
In the program, you can re-run PHPUnit tests automatically with a specified delay.
Enable auto-run for a particular configuration, set the delay value, and your tests will be re-run automatically with that delay after you stop editing a file.
It is an all-inclusive platform that provides a wide range of cutting-edge features.
The solution emphasizes productivity, fast implementation, and ease of access to the whole project, but doesn’t allow users to edit.
Another noteworthy feature is the fast and secure refactoring functionality.
Pros & Cons
Lacks support for some of the newer languages, such as PreCSS.
The extensive configuration is easy-to-understand.
The rigid project-based structure makes PhpStorm unsuitable for performing quick edits or taking throwaway notes.
support for a multitude of plugins
The cost, both financially and in system resources, may be prohibitive for some users.