PhpStorm not showing project files in project view

In case both above solutions do not work, try this following approach:

  1. cd to your projects .idea Folder

  2. Check if there is a file called project_name.iml. If this is not the case create it and paste the following content to it

    <?xml version="1.0" encoding="UTF-8"?>
    <module type="WEB_MODULE" version="4">
      <component name="NewModuleRootManager">
        <content url="file://$MODULE_DIR$"></content>
      </component>
    </module>
    
  3. Then check if there is a file called modules.xml. If this is not the case create it and paste the following content to it (which targets to your previously created project_name.iml)

    <?xml version="1.0" encoding="UTF-8"?>
    <project version="4">
      <component name="ProjectModuleManager">
        <modules>
          <module fileurl="file://$PROJECT_DIR$/.idea/project_name.iml" filepath="$PROJECT_DIR$/.idea/project_name.iml" />
        </modules>
      </component>
    </project>
    
  4. Restart PhpStorm

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)