File | Settings | PHP | Framework Integration
PhpStorm | Preferences | PHP | Framework Integration
The page is available only when the Framework MVC Structure Support bundled plugin is enabled. By default the plugin is active.
If not, enable it in the Plugin Configuration Wizard or on the Plugins page of the Settings dialog.
FOr more details, see Enabling and Disabling Plugins, Plugin Configuration Wizard, and Plugins
Use this page to enable viewing the structure of your framework-specific project
in the terms of the Model-View-Controller pattern.
PhpStorm parses the structure of a framework-specific project tree based on the following assumptions:
According to the framework specification, a project should have a directory with application configuration files, a web directory with js and css files,
and directory with a number of modules. The structure of the application config file and web directories is predefined and cannot be customized, therefore
PhpStorm can parse such directories itself, you do not need to provide any additional information.
However inside the project, the directories can be arranged in any way and can be named without any restrictions.
Moreover, each module should contain some specific folders that can be located anywhere inside the module and can have any
Therefore, PhpStorm cannot detect the type of such folders itself.
To enable the MVC view of the project, you need to mark application roots and module roots and mark the project elements as
various framework-specific types.