# Build artifacts & dependencies (rebuilt inside the image) /node_modules /vendor /var /public/build /public/bundles /public/uploads # VCS & local tooling /.git /.gitignore /.ddev /.claude /.agents /.vscode /.idea /.editorconfig # Tests & static analysis /tests /phpunit.dist.xml /.phpunit.cache /phpstan.neon # Local env & secrets # NOTE: .env IS kept in the image — Symfony's Dotenv::bootEnv requires it to # exist. Its APP_ENV=dev default is harmless in prod: compose sets the real # APP_ENV=prod env var, and Dotenv never overwrites an already-set var # (provided FPM clear_env=no, see docker/php/zz-pool.conf). .env.local .env.*.local /config/jwt/*.pem # Database dumps & seed data *.sql *.sql.gz # Docs (not needed at runtime) /docs /graphify-out # OS noise .DS_Store *.log