
PhpStorm is a perfect choice if you use PHP frameworks. PhpStorm makes it easy for developers to work with all languages, by providing code completion and syntax highlighting support. Most PHP developers do not work with PHP only, but they also work with HTML, CSS, JavaScript, and other languages. It connects with the database, edit tables and schemas, run queries, and even analyze schema with UML diagram. PhpStorm provides tools and code assistance features for working with databases and SQL in your projects. PhpStorm IDE provides code refactoring, auto-completion, on-the-fly error prevention, zero-configuration debugging, and an extended HTML, CSS, and JavaScript editor. PhpStorm helps the developer to understand and change their code by providing editable UML class diagrams for PHP code. Just like Blade, we have also been improving our Twig support.All WebStorm features are included into PhpStorm, with full-fledged support for PHP and database support added on the top. We plan to continue improving our Blade template engine support. You can see the full list of fixed issues in our issue tracker. WI-40358 Blade: inside block throws “Directive is not closed”.WI-25667 Blade: formatting blocks are not aligning if there is a HTML comment after a closing tag.


Many other issues with code completion and formatting in Blade templates were resolved as well, including: You can now also import namespaces in your blade files, instead of always having to use FQCNs: As the result, you’ll get much better code completion in your Blade files: Namespace imports with autocompletion In PhpStorm 2022.1, we’ve significantly reworked how the IDE handles Blade templates. It caused many issues, such as losing code completion: Previously, PhpStorm treated every code block in Blade templates as an independent scope.

Let’s dive in! What’s new? Frameworks and languages You can download PhpStorm 2022.1 here and read through this post to learn about all the new features and improvements inside. This new major PhpStorm release includes improved Blade and Twig support, added functionality to docblock type annotations and attributes, a bunch of new and useful inspections, several improvements to the editor, and more.
