Having installed the Symfony plugin, you need to explicitly enable it for the project. After creating or opening a Symfony project, PhpStorm will display a notification message suggesting you enable the plugin.

Restart PhpStorm for the changes to take effect.

In the Settings/Preferences dialog Ctrl+Alt+S , navigate to Languages & Frameworks | PHP | Symfony and select the Enable Plugin for this Project checkbox.

Click the Enable the Symfony plugin with autoconfiguration link in the notification message.

Do any of the following:

Specifying additional settings

Depending on how the Symfony project is structured, you may have to change some additional settings under Languages & Frameworks | PHP | Symfony. When working with a Symfony application that follows the structure generated by, for example, the symfony/framework-standard-edition Composer project, the default paths and settings will work fine.

Note that the appDevDebugProjectContainer.xml and appDevUrlGenerator.php must be located under the Symfony's default path in order to work with all features the Symfony Plugin provides. It will use a fallback mechanism when these files cannot be found, but completion and navigation will be less precise in this case.

When using a non-default project structure, the following paths should be updated in the Symfony Plugin settings: