https://github.com/novusvetus/autogitignore
A post-update-cmd script to automatically add Composer managed packages to .gitignore.
https://github.com/novusvetus/autogitignore
composer composer-package git gitignore gitignore-files gitignore-generator hacktoberfest packagist php php7 php8 vendor
Last synced: 8 months ago
JSON representation
A post-update-cmd script to automatically add Composer managed packages to .gitignore.
- Host: GitHub
- URL: https://github.com/novusvetus/autogitignore
- Owner: Novusvetus
- License: bsd-3-clause
- Created: 2018-08-23T20:59:14.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-01-09T05:36:25.000Z (almost 2 years ago)
- Last Synced: 2025-03-02T01:33:03.375Z (9 months ago)
- Topics: composer, composer-package, git, gitignore, gitignore-files, gitignore-generator, hacktoberfest, packagist, php, php7, php8, vendor
- Language: PHP
- Homepage:
- Size: 49.8 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Auto Git Ignore by Novusvetus #
## Overview ##
A post-update-cmd script to automatically add Composer managed packages to .gitignore.
## Installation ##
### Add the following to your composer.json: ###
```json
"scripts": {
"post-update-cmd": "Novusvetus\\AutoGitIgnore\\GitIgnoreBuilder::go"
}
```
### Add it to your project with: ###
```shell
composer require novusvetus/autogitignore
```
### Optional - Exclude only dev packages: ###
#### Add to the following to your composer.json ####
```json
"extra": {
"autogitignore": "devOnly"
}
```
## License ##
3-clause BSD license
See [License](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.
[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 ##
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 ##
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 ##
* [mickaelperrin / Mickaël PERRIN](https://github.com/mickaelperrin)
## Links ##
* [ReindeerWeb](https://www.reindeer-web.de)
* [Novusvetus](https://www.novusvetus.de)
* [License](./LICENSE)
* [Contributing](./CONTRIBUTING.md)