Download the PHP package shineunited/conductor-gitignore-addon without Composer
On this page you can find all versions of the php package shineunited/conductor-gitignore-addon. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download shineunited/conductor-gitignore-addon
More information about shineunited/conductor-gitignore-addon
Files in shineunited/conductor-gitignore-addon
Package conductor-gitignore-addon
Short Description Addon for Conductor to support managing project gitignore file.
License MIT
Informations about the package conductor-gitignore-addon
shineunited/conductor-gitignore-addon
Description
In conjunction with Conductor, this addon will automatically modify the project's .gitignore file to exclude paths installed with the Conductor or specified explicitly by other packages.
Installation
To add conductor-gitignore-addon, the recommended method via composer.
Configuration
The gitignore addon uses the Conductor configuration framework to parse parameters in the 'extra' section of the project's composer.json file.
Parameters
gitignore.ignore-lockfile
(boolean) If true, add the composer lockfile (composer.lock) to the gitignore file. Defaults to false.
gitignore.ignore-pharfile
(boolean) If true, add the composer pharfile (composer.phar) to the gitignore file. Defaults to true.
gitignore.ignore-vendordir
(boolean) If true, add the entire vendor directory to the gitignore file. Defaults to true.
gitignore.ignore-packages
(boolen) If true, automatically add any packages installed with conductor installers outside of the vendor directory to the gitignore file. Defaults to true.
Example
Usage
GitignoreProvider Capability
In addition to the automatically added gitignore rules based on the project's config, a composer plugin can explicitly add various rules via the GitignoreProvider capability.
Example Plugin
The plugin must implement Capable and provide the GitignoreProvider capability.
Example Provider
The provider must implement the capability, and return a list of gitignore RuleInterface objects.