aboutsummaryrefslogtreecommitdiffstats
path: root/options/gitignore/Symfony
diff options
context:
space:
mode:
Diffstat (limited to 'options/gitignore/Symfony')
-rw-r--r--options/gitignore/Symfony37
1 files changed, 37 insertions, 0 deletions
diff --git a/options/gitignore/Symfony b/options/gitignore/Symfony
new file mode 100644
index 0000000000..c68377d1ac
--- /dev/null
+++ b/options/gitignore/Symfony
@@ -0,0 +1,37 @@
+# Cache and logs (Symfony2)
+/app/cache/*
+/app/logs/*
+!app/cache/.gitkeep
+!app/logs/.gitkeep
+
+# Cache and logs (Symfony3)
+/var/cache/*
+/var/logs/*
+!var/cache/.gitkeep
+!var/logs/.gitkeep
+
+# Parameters
+/app/config/parameters.yml
+/app/config/parameters.ini
+
+# Managed by Composer
+/app/bootstrap.php.cache
+/var/bootstrap.php.cache
+/bin/*
+!bin/console
+!bin/symfony_requirements
+/vendor/
+
+# Assets and user uploads
+/web/bundles/
+/web/uploads/
+
+# PHPUnit
+/app/phpunit.xml
+/phpunit.xml
+
+# Build data
+/build/
+
+# Composer PHAR
+/composer.phar