PhpStorm 2024.3 Help

Symfony

PhpStorm's support for the Symfony web application framework includes:

Symfony code completion and navigation

Code completion and code navigation for Service Containers, Doctrine, translations, routes, forms, and events. Code completion for Symfony and Twig templates. Navigation through a Symfony project.

Pre-configured live templates for Symfony components

Live templates are code snippets for the frequently used code constructs that PhpStorm inserts automatically as you type a corresponding template name.

Symfony log highlighting

View and navigate Symfony log files in the editor or in the terminal. Use the pre-configured highlighting patterns or customize the format or coloring if required.

Checking code against the Symfony code style

Set the Symfony2 code style and use PHP_CodeSniffer to check code against the Symfony coding standards.

Using the Symfony command line tool from PhpStorm

Run Symfony commands from PhpStorm using the Run Anything action and debug the controller classes corresponding to the selected commands.

Twig templates support

Language injection in Twig templates. Customization of the Twig syntax. Debugging Twig templates.

Last modified: 24 July 2024