novusvetus/autogitignore — explained in plain English
Analysis updated 2026-08-08 · repo last pushed 2025-12-15
Automatically ignore Composer dependency folders so they never get committed to Git.
Ignore only development packages while keeping production libraries tracked in version control.
Keep large PHP project repositories clean without manually editing .gitignore after every package update.
| novusvetus/autogitignore | googleapis/google-cloud-php-functions | colin-johnston/hadron | |
|---|---|---|---|
| Stars | 7 | 7 | 6 |
| Language | PHP | PHP | PHP |
| Last pushed | 2025-12-15 | 2026-06-17 | 2016-03-27 |
| Maintenance | Quiet | Maintained | Dormant |
| Setup difficulty | easy | moderate | moderate |
| Complexity | 2/5 | 3/5 | 2/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires an existing PHP project using Composer, just add the package as a dependency.
Auto Git Ignore is a small helper tool for PHP developers who use Composer (a popular package manager for PHP). Its job is simple: every time you update your project's packages, it automatically adds the right entries to your .gitignore file so that those packages don't get committed to your Git repository. If you've ever forgotten to ignore a dependencies folder and ended up pushing hundreds of third-party files into your own project, this tool is meant to prevent that headache. In practice, PHP projects often rely on Composer to download external libraries into a folder (typically vendor/). You generally don't want that folder stored in your Git history, it's bulky, and each person's project can rebuild it on their own. Instead of manually managing what gets ignored, this script runs automatically after Composer updates your packages and writes the ignore rules for you. There's also an option to ignore only development packages, which is useful if you want to keep production libraries tracked but exclude tools used just for testing or local work. The people who'd find this useful are PHP developers and teams who use Composer and Git together and want a small convenience layer that keeps their repositories clean without manual fuss. It's a niche tool, it only does one thing, but for anyone managing PHP projects, especially larger ones with many dependencies, it removes a small but persistent bit of friction. The README doesn't go into detail on edge cases, performance, or how the script behaves in unusual setups. The project is lightweight, openly licensed under a three-clause BSD license, and welcomes contributions or feature requests through GitHub issues.
A PHP helper tool that automatically updates your .gitignore file after Composer package updates, preventing dependency folders from being committed to your Git repository.
Mainly PHP. The stack also includes PHP, Composer, Git.
Quiet — no commits in 6-12 months (last push 2025-12-15).
Use freely for any purpose, including commercial use, as long as you keep the copyright notice, no need to share your changes.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.