devops2 active rulesVerified 2026-09-30
Composer .gitignore Template
Standard Composer gitignore template from upstream github/gitignore collection. Generated and merged deterministically with upstream GitHub repository patterns to keep your repository clean of package directories, temporary build artifacts, and local environment files.
Interactive Stack Generator
Open in Full Generator/
Search for templates
Quick add:
Selected1
Composer
Selected Templates (1)
Composer
devops
Standard Composer gitignore template from upstream github/gitignore collection
#composer
.gitignore
### Composer ###composer.phar/vendor/ # Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file# composer.lock 2 rules1 template8 linesUTF-8LF
Deterministic
Raw Composer .gitignore
Crawlable upstream source templatecomposer.gitignore7 linesUTF-8
composer.phar/vendor/ # Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file# composer.lock Key Pattern Breakdown
Dependencies & Packages
Excludes installed package directories and third-party vendor files that should be restored via package managers.
/vendor/
Source & Verification
Source:: GitHub gitignore (main)
License:: CC0-1.0
Place this file in the root directory of your project as .gitignore. Changes take effect on newly added or untracked files.