Whatever task you have at hand, PhpStorm brings smart coding assistance to your fingertips. With tons of useful features and shortcuts for every action, you have all the support you need to focus on what's essential and enjoy productive PHP development.
Features
Intelligent code editor
PhpStorm's code editor is hands down the most powerful and language-savvy coding assistant in the industry today.
You get smart code completion and refactorings, instant error detection, type inference, quick and easy navigation by codebase, and so many more features that effectively relieve you of the tedious and uninspiring aspects of authoring code.
Frameworks
PhpStorm is the go-to IDE for the most popular PHP frameworks, including Laravel, Symfony, and WordPress. In addition to PhpStorm's deep understanding of vanilla PHP code, you get extensive coding assistance, code generation, and navigation support for your development frameworks of choice.
Frontend
Besides PHP, PhpStorm is all tooled up for development in JavaScript, TypeScript, jQuery, and all other major frontend technologies.
Out of the box, you get a full-stack IDE that's able to handle the trickiest development tasks, including refactoring, debugging, and unit testing, on both the client and server sides of your web application.
Debugger
Track down problems that are difficult to reproduce with PhpStorm's debugging user interface. Step through code, inspect output, and evaluate expressions without ever leaving the IDE.
PhpStorm can do the hard work of setting up Xdebug and validating it for you, or you can go further and customize the setup for advanced scenarios like remote debugging via SSH and profiling.
Testing tools
Take advantage of PhpStorm's built-in support for all major PHP testing tools, including PHPUnit, Pest, Behat, Codeception, and phpspec.
Generate test classes and run them instantly from a directory or file, or straight from the editor. Inspect test results in a dedicated window, and evaluate how much of your code is covered with PHPUnit tests.
Databases
PhpStorm comes with support for the leading databases, including MySQL, PostgreSQL, MongoDB, and SQLite. With dedicated features for querying databases, browsing schemas, and refactoring, you have all the tools and resources you need to work with databases and SQL in your projects out of the box.
AI Assistant
JetBrains AI Assistant builds on PhpStorm's developer productivity tools and integrates seamlessly into the IDE's workflows. The output from the AI chat, in-editor AI prompts, and AI-generated commit messages is inherently context-aware and consistent with the IDE's understanding of your project.
What's New
The highlights of this version include:
- PHP 8.4 support
- AI Assistant improvements
- xdebug_notify() support
- Laravel Herd's PHP interpreter
PhpStorm 2024.3 comes loaded with new inspections and quick-fixes to help you smoothly upgrade to the feature-rich PHP 8.4. Below is a brief overview of how the new PHP 8.4 features are supported in your PhpStorm workflow.
Property hooks
One of the biggest changes in modern PHP history, property hooks are designed to eliminate boilerplate getters and setters by allowing you to implement get and set hooks for properties.
For property hooks (including the property hooks inside promoted properties), PhpStorm provides:
- A quick-fix for replacing getters and setters with get and set property hooks.
- An intention action for adding property hooks to properties.
- Code completion for the get and set keywords with the insertion of property hook bodies.
- The ability to generate get and set hooks for a property via a Generate action similar to Generate | Getters and Setters.
- Automatic detection of property hooks that can be converted into their short-hand notations and a quick-fix for converting them.
- Checks to ensure the proper usage of the property hooks syntax and logic.
Asymmetric visibility
Asymmetric visibility allows a typed property to have separate visibility defined for read and write operations.
PhpStorm 2024.3 helps ensure the proper implementation of asymmetric visibility scopes in your code by providing checks and quick-fixes for:
- Redundant asymmetric visibility modifiers.
- Attempts to make a property's set visibility wider than the main (get) visibility.
- Redundant final modifiers for private (set) properties.
- Attempts to narrow property visibility in inherited properties.
- Attempts to modify an asymmetric visibility property outside of the set visibility scope.
New array functions
You can use PhpStorm 2024.3 to convert foreach loops to the newly added array_find(), array_find_key(), array_any(), and array_all() PHP 8.4 functions.
Read the complete release notes here.