PHPackages                             zippovich2/composer-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. zippovich2/composer-installer

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

zippovich2/composer-installer
=============================

Allow add variables from .env\* files to custom package url.

v1.1.0(5y ago)115MITPHPPHP ^7.2.5

Since Feb 12Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Zippovich2/composer-installer)[ Packagist](https://packagist.org/packages/zippovich2/composer-installer)[ RSS](/packages/zippovich2-composer-installer/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (5)Versions (6)Used By (0)

Composer Installer
==================

[](#composer-installer)

Allow add variables in package urls using environment variables and `.env` files.

[![Build Status](https://camo.githubusercontent.com/2c16a0297d30d6d620f0fff2609b78db26d2cb4b68e049123df16830b9245bf2/68747470733a2f2f7472617669732d63692e6f72672f5a6970706f76696368322f636f6d706f7365722d696e7374616c6c65722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Zippovich2/composer-installer)[![Packagist](https://camo.githubusercontent.com/f457586618ad3b1c80ea7f8e4b9796b1b14a9e17ef1986412fea71d2898bb92d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a6970706f76696368322f636f6d706f7365722d696e7374616c6c65722e737667)](https://packagist.org/packages/zippovich2/composer-installer)

Installation
------------

[](#installation)

```
$ composer require zippovich2/composer-installer

```

Usage
-----

[](#usage)

Most common usage is ACF Pro plugin for WordPress:

```
{
    "repositories": [
        {
            "type": "package",
            "package": {
                "name": "acf/acf-pro",
                "version": "5.8.7",
                "type": "wordpress-plugin",
                "dist": {
                    "type": "zip",
                    "url": "https://connect.advancedcustomfields.com/index.php?p=pro&a=download&k={%ACF_PRO_KEY%}&t=5.8.7"
                }
            }
        }

    ],
    "require": {
        "zippovich2/composer-installer": "^1.0"
    }
}
```

And just add `ACF_PRO_KEY` to any of `.env` files (`.env`, `.env.local`, `.env.%APP_ENV%`, `.env.%APP_ENV%.local`) or provide it as environment variable (note that `.env` variables overwrite environment variables):

```
# .env.local
ACF_PRO_KEY=your key
```

Now you can install package:

```
$ composer require acf/acf-pro

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Total

4

Last Release

2016d ago

### Community

Maintainers

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

---

Top Contributors

[![Zippovich2](https://avatars.githubusercontent.com/u/26221873?v=4)](https://github.com/Zippovich2 "Zippovich2 (7 commits)")

---

Tags

plugincomposerinstallerenvironmentvariablesacfvars

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/zippovich2-composer-installer/health.svg)

```
[![Health](https://phpackages.com/badges/zippovich2-composer-installer/health.svg)](https://phpackages.com/packages/zippovich2-composer-installer)
```

###  Alternatives

[ergebnis/composer-normalize

Provides a composer plugin for normalizing composer.json.

1.1k37.3M2.1k](/packages/ergebnis-composer-normalize)[philippbaschke/acf-pro-installer

An install helper for Advanced Custom Fields PRO

283724.6k](/packages/philippbaschke-acf-pro-installer)[craftcms/plugin-installer

Craft CMS Plugin Installer

283.3M4](/packages/craftcms-plugin-installer)[infinum/eightshift-libs

WordPress libs developed by Eightshift team to use in modern WordPress.

63118.9k3](/packages/infinum-eightshift-libs)

PHPackages © 2026

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