Skip to content

Instantly share code, notes, and snippets.

@hsablonniere
Last active February 16, 2021 21:16
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hsablonniere/5522285 to your computer and use it in GitHub Desktop.
Save hsablonniere/5522285 to your computer and use it in GitHub Desktop.
PHP/Symfony2 .gitignore
# Symfony2
/web/bundles/
/app/bootstrap.php.cache
/app/cache/*
/app/logs/*
/build/
/vendor/
/bin/
/composer.phar
composer.lock
# Symfony2 configuration files
app/config/parameters.ini
app/config/parameters.yml
# Eclipse
*.pydevproject
.project
.metadata
bin/**
tmp/**
tmp/**/*
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath
# PDT-specific
.buildpath
# Netbeans
nbproject/private/
build/
nbbuild/
dist/
nbdist/
nbactions.xml
nb-configuration.xml
# PHPStorm
.idea/
@vince83110
Copy link

Don't ignore composer.lock, this file contains the correct "state" of your dependencies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment