Search code examples
phpphpstormsymfony

How to restore app folder in a symfony 3 project?


my app folder was deleted without my intention, is there any way to restore it, i have all my routing and Roles configuration in it i'm using Php storm if this has any relation with my problem


Solution

    1. Open Project view, right click on the root directory of your project, Local History -> Show History. If you're lucky, the folder with all its contents will be there. If you're not, have fun restoring everything manually.

    2. Start using a version control system, for crying out loud.