Which files/directories to ignore in a Laravel 4 project when using version control?

前端 未结 5 559
孤独总比滥情好
孤独总比滥情好 2021-01-30 21:00

I have a Laravel 4 project, and I would like to know which files should be ignored when using a version control software such as Git, Mercury or SVN?

The structure of my

5条回答
  •  粉色の甜心
    2021-01-30 21:19

    You might also want to see the Laravel docs here and here. This discusses how to setup different Laravel configurations for different environments and protect sensitive information. All your .env.local.php type files should not be included in version control. Note that the .env.*.php and .env.php is added in the default Laravel .gitignore file. You can see it here

提交回复
热议问题