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
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