PHPackages                             greenpeace/github-archive-installer - 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. greenpeace/github-archive-installer

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

greenpeace/github-archive-installer
===================================

Forked from https://github.com/wpscholar/github-archive-installer. A custom Composer installer that will install a dependency from a GitHub release archive .zip file when installing from distribution.

1.3.2(4y ago)016.1k1GPL-2.0-or-laterPHP

Since Feb 5Pushed 4y agoCompare

[ Source](https://github.com/greenpeace/github-archive-installer)[ Packagist](https://packagist.org/packages/greenpeace/github-archive-installer)[ RSS](/packages/greenpeace-github-archive-installer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (9)Used By (0)

GitHub Archive Installer
========================

[](#github-archive-installer)

Forked from .

A custom Composer installer that will install a dependency from a GitHub release archive .zip file when installing from distribution.

Why You Need It
---------------

[](#why-you-need-it)

It is very common that you might have a number of development only files in your code library source files. Unless explicitly installing from source, you generally don't need to have development only files in your final distribution. You may also want to perform some specific build steps such as building some production-ready JavaScript files. This installer allows you to keep generated code out of your repository while still being able to reliably deliver it in your final distribution.

Using a tool like Travis CI, you can automate the build of your final distribution and automatically attach the generated .zip file to the release on GitHub. Then, using this installer, you can easily configure your library to install the generated .zip file when installing as `dist` in Composer.

How it Works
------------

[](#how-it-works)

Any package with a direct dependency on `wpscholar/github-archive-installer` and a valid stable version number being installed from distribution will be installed from the GitHub archive `.zip` file associated with a specific release.

For example, if my Composer package is named `wpscholar/hello-world` then my generated .zip file should be named `hello-world.zip` in order to be properly installed using this installer.

This installer only changes the `distUrl` for the package in Composer. It doesn't override any existing installers that work based off of the `type` property in your `composer.json` file. For example, if you have a package of type `wordpress-plugin` your package would still install in the correct location in WordPress. However, when installing from `dist` it would simply pull from the .zip file attached to your GitHub release.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~169 days

Recently: every ~101 days

Total

6

Last Release

1810d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/73b0188184085e27029f0917c76dbc21e87c206c01909c3e931d53adf0bb3b3c?d=identicon)[sagarsdeshmukh](/maintainers/sagarsdeshmukh)

![](https://avatars.githubusercontent.com/u/939357?v=4)[Nikos Roussos](/maintainers/comzeradd)[@comzeradd](https://github.com/comzeradd)

![](https://avatars.githubusercontent.com/u/71187640?v=4)[Planet 4 Bot](/maintainers/planet-4)[@planet-4](https://github.com/planet-4)

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

---

Top Contributors

[![Inwerpsel](https://avatars.githubusercontent.com/u/7604138?v=4)](https://github.com/Inwerpsel "Inwerpsel (3 commits)")[![wpscholar](https://avatars.githubusercontent.com/u/890951?v=4)](https://github.com/wpscholar "wpscholar (2 commits)")[![comzeradd](https://avatars.githubusercontent.com/u/939357?v=4)](https://github.com/comzeradd "comzeradd (1 commits)")[![goaround](https://avatars.githubusercontent.com/u/5927337?v=4)](https://github.com/goaround "goaround (1 commits)")

### Embed Badge

![Health badge](/badges/greenpeace-github-archive-installer/health.svg)

```
[![Health](https://phpackages.com/badges/greenpeace-github-archive-installer/health.svg)](https://phpackages.com/packages/greenpeace-github-archive-installer)
```

###  Alternatives

[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

2994.3M16](/packages/vaimo-composer-patches)[mglaman/composer-drupal-lenient

1317.4M15](/packages/mglaman-composer-drupal-lenient)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5341.9M446](/packages/drupal-core-composer-scaffold)[drupal/core-project-message

Adds a message after Composer installation.

2122.6M172](/packages/drupal-core-project-message)[olvlvl/composer-attribute-collector

A convenient and near zero-cost way to retrieve targets of PHP 8 attributes

184108.8k8](/packages/olvlvl-composer-attribute-collector)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

41716.4k2](/packages/lullabot-drainpipe)

PHPackages © 2026

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