PHPackages                             novusvetus/autogitignore - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. novusvetus/autogitignore

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

novusvetus/autogitignore
========================

A post-update-cmd script to automatically add Composer managed packages to .gitignore

2.0.0(4y ago)7241[1 issues](https://github.com/Novusvetus/AutoGitIgnore/issues)[5 PRs](https://github.com/Novusvetus/AutoGitIgnore/pulls)BSD-3-ClausePHPPHP ^7.1 || ^8CI passing

Since Aug 23Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/Novusvetus/AutoGitIgnore)[ Packagist](https://packagist.org/packages/novusvetus/autogitignore)[ Fund](https://www.paypal.me/marcelru)[ GitHub Sponsors](https://github.com/novusvetus)[ RSS](/packages/novusvetus-autogitignore/feed)WikiDiscussions main Synced yesterday

READMEChangelog (2)Dependencies (2)Versions (8)Used By (0)

Auto Git Ignore by Novusvetus
=============================

[](#auto-git-ignore-by-novusvetus)

Overview
--------

[](#overview)

A post-update-cmd script to automatically add Composer managed packages to .gitignore.

Installation
------------

[](#installation)

### Add the following to your composer.json:

[](#add-the-following-to-your-composerjson)

```
"scripts": {
    "post-update-cmd": "Novusvetus\\AutoGitIgnore\\GitIgnoreBuilder::go"
}
```

### Add it to your project with:

[](#add-it-to-your-project-with)

```
composer require novusvetus/autogitignore
```

### Optional - Exclude only dev packages:

[](#optional---exclude-only-dev-packages)

#### Add to the following to your composer.json

[](#add-to-the-following-to-your-composerjson)

```
"extra": {
    "autogitignore": "devOnly"
}
```

License
-------

[](#license)

3-clause BSD license See [License](LICENSE)

Bugtracker
----------

[](#bugtracker)

Bugs are tracked in the issues section of this repository on GitHub. Please read over existing issues before submitting an issue to ensure yours is unique.

[Create a new issue](../../issues/new)

- Describe the steps to reproduce your issue.
- Describe the expected and the actual outcome.
- Describe your environment as detailed as possible.

Development and contribution
----------------------------

[](#development-and-contribution)

Feature requests can also be made by [creating a new issue](../../issues/new). If you would like to make contributions to this repository, feel free to [create a fork](../../fork) and submit a pull request.

Versioning
----------

[](#versioning)

This project follows [Semantic Versioning](http://semver.org) paradigm. That is:

> Given a version number MAJOR.MINOR.PATCH, increment the:
>
> 1. MAJOR version when you make incompatible API changes,
> 2. MINOR version when you add functionality in a backwards-compatible manner, and
> 3. PATCH version when you make backwards-compatible bug fixes. Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.

Thanks to
---------

[](#thanks-to)

- [mickaelperrin / Mickaël PERRIN](https://github.com/mickaelperrin)

Links
-----

[](#links)

- [ReindeerWeb](https://www.reindeer-web.de)
- [Novusvetus](https://www.novusvetus.de)
- [License](./LICENSE)
- [Contributing](./CONTRIBUTING.md)

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance43

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 87.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1141 days

Total

2

Last Release

1726d ago

Major Versions

1.0.0 → 2.0.02021-10-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/e42517b24b70782a719f9875ebd40109af8fb57ec755fede5e9a227574a1411b?d=identicon)[Novusvetus](/maintainers/Novusvetus)

---

Top Contributors

[![Novusvetus](https://avatars.githubusercontent.com/u/1022187?v=4)](https://github.com/Novusvetus "Novusvetus (36 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")

---

Tags

composercomposer-packagegitgitignoregitignore-filesgitignore-generatorhacktoberfestpackagistphpphp7php8vendor

### Embed Badge

![Health badge](/badges/novusvetus-autogitignore/health.svg)

```
[![Health](https://phpackages.com/badges/novusvetus-autogitignore/health.svg)](https://phpackages.com/packages/novusvetus-autogitignore)
```

###  Alternatives

[roave/backward-compatibility-check

Tool to compare two revisions of a public API to check for BC breaks

5973.6M93](/packages/roave-backward-compatibility-check)[brianhenryie/strauss

Prefixes dependencies namespaces so they are unique to your plugin

190406.5k30](/packages/brianhenryie-strauss)[dominikb/composer-license-checker

Utility to check for licenses of dependencies and block/allow them.

574.3M12](/packages/dominikb-composer-license-checker)[magento/composer

Magento composer library helps to instantiate Composer application and run composer commands.

317.8M12](/packages/magento-composer)[noerd/noerd

101.3k6](/packages/noerd-noerd)[ec-europa/toolkit

Toolkit packaged for Drupal projects based on Robo.

39250.0k28](/packages/ec-europa-toolkit)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
