TGM Plugin Activation is a PHP library that allows you to easily require or recommend plugins for your WordPress themes (and plugins). It allows your users to install, update and even automatically activate plugins in singular or bulk fashion using native WordPress classes, functions and interfaces. You can reference bundled plugins, plugins from the WordPress Plugin Repository or even plugins hosted elsewhere on the internet.
Github uses git archive to produce the automatic dist archive. This archive is what is downloaded when Composer retrieves the dependency by default or with prefer-dist. By adding this line, the plugin archive is excluded from dist because it is an example that is never needed in dist environments (like production), reducing download size and time.
Github uses
git archive
to produce the automatic dist archive. This archive is what is downloaded when Composer retrieves the dependency by default or withprefer-dist
. By adding this line, the plugin archive is excluded from dist because it is an example that is never needed in dist environments (like production), reducing download size and time.