novusvetus / autogitignore
A post-update-cmd script to automatically add Composer managed packages to .gitignore
Fund package maintenance!
Ko Fi
Requires
- php: ^7.1 || ^8
- composer/composer: *
- novusvetus/classhelper: 1.* || 2.*
This package is auto-updated.
Last update: 2024-12-09 07:38:56 UTC
README
Overview
A post-update-cmd script to automatically add Composer managed packages to .gitignore.
Installation
Add the following to your composer.json:
"scripts": { "post-update-cmd": "Novusvetus\\AutoGitIgnore\\GitIgnoreBuilder::go" }
Add it to your project with:
composer require novusvetus/autogitignore
Optional - Exclude only dev packages:
Add to the following to your composer.json
"extra": { "autogitignore": "devOnly" }
License
3-clause BSD license See License
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.
- Describe the steps to reproduce your issue.
- Describe the expected and the actual outcome.
- Describe your environment as detailed as possible.
Development and contribution
Feature requests can also be made by creating a new issue. If you would like to make contributions to this repository, feel free to create a fork and submit a pull request.
Versioning
This project follows Semantic Versioning paradigm. That is:
Given a version number MAJOR.MINOR.PATCH, increment the:
- MAJOR version when you make incompatible API changes,
- MINOR version when you add functionality in a backwards-compatible manner, and
- 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.