PHPackages                             dphiffer/acf-pro-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. dphiffer/acf-pro-installer

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

dphiffer/acf-pro-installer
==========================

An install helper for Advanced Custom Fields PRO

v1.0.10(4y ago)0905MITPHPPHP &gt;=7.1

Since Apr 15Pushed 3y agoCompare

[ Source](https://github.com/dphiffer/acf-pro-installer)[ Packagist](https://packagist.org/packages/dphiffer/acf-pro-installer)[ RSS](/packages/dphiffer-acf-pro-installer/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (6)Versions (15)Used By (0)

ACF PRO Installer
=================

[](#acf-pro-installer)

*an actually maintained fork of [PhilippBaschke/acf-pro-installer](https://github.com/PhilippBaschke/acf-pro-installer)*

[![Packagist](https://camo.githubusercontent.com/db89e789eb347993768ecd0f1ca50354be597899ff338a3ba7acb46ce32b6088/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64706869666665722f6163662d70726f2d696e7374616c6c65722e7376673f6d61784167653d33363030)](https://packagist.org/packages/dphiffer/acf-pro-installer)[![Packagist](https://camo.githubusercontent.com/65fc9014047bd003797a5a5782397e2734871582764be31abf7f47c74cd38092/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f64706869666665722f6163662d70726f2d696e7374616c6c65722e7376673f6d61784167653d32353932303030)](https://github.com/dphiffer/acf-pro-installer/blob/master/LICENSE)[![Travis](https://camo.githubusercontent.com/d4ae603a3b3e8d9d45df5167eee03f8f5d9b8a3f6a0d00e9d47c5e1fd1a6dfb0/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f64706869666665722f6163662d70726f2d696e7374616c6c65722e7376673f6d61784167653d33363030)](https://travis-ci.org/dphiffer/acf-pro-installer)

⚠️ ACF have announced [first-party support for installing via composer](https://www.advancedcustomfields.com/blog/composer-support-acf-pro/)
--------------------------------------------------------------------------------------------------------------------------------------------

[](#️-acf-have-announced-first-party-support-for-installing-via-composer)

A composer plugin that makes installing [ACF PRO](https://www.advancedcustomfields.com/pro/) with [composer](https://github.com/composer/composer) easier.

It reads your 🔑 ACF PRO key from the **environment** or a **.env file**.

Usage
-----

[](#usage)

**1. Add the package repository to the [`repositories`](https://getcomposer.org/doc/04-schema.md#repositories) field in `composer.json`(based on this [gist](https://gist.github.com/fThues/705da4c6574a4441b488)):**

```
{
  "type": "package",
  "package": {
    "name": "advanced-custom-fields/advanced-custom-fields-pro",
    "version": "*.*.*(.*)",
    "type": "wordpress-plugin",
    "dist": {
      "type": "zip",
      "url": "https://connect.advancedcustomfields.com/index.php?p=pro&a=download"
    },
    "require": {
      "dphiffer/acf-pro-installer": "^1.0",
      "composer/installers": "^1.0"
    }
  }
}
```

Replace `"version": "*.*.*(.*)"` with your desired version.

Replace `"type": "wordpress-plugin"` with `"type": "library"` if you would like to have ACF PRO installed in the `./vendor` directory instead of `./wp-content/plugins`. This may be desireable if for example, you are including ACF PRO in a WordPress theme.

**2. Make your ACF PRO key available**

Set the environment variable **`ACF_PRO_KEY`** to your [ACF PRO key](https://www.advancedcustomfields.com/my-account/).

Alternatively you can add an entry to your **`.env`** file:

```
# .env (same directory as composer.json)
ACF_PRO_KEY=Your-Key-Here
```

**3. Require ACF PRO**

```
composer require advanced-custom-fields/advanced-custom-fields-pro:*
```

You can specify an [exact version](https://getcomposer.org/doc/articles/versions.md) (that matches your desired version).

If you use **`*`**, composer will install the version from the package repository (see 1). This has the benefit that you only need to change the version in the package repository when you want to update.

*Be aware that `composer update` will only work if you change the `version` in the package repository. Decreasing the version only works if you require an [exact version](https://getcomposer.org/doc/articles/versions.md).*

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 58.5% 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 ~166 days

Recently: every ~0 days

Total

13

Last Release

1684d ago

Major Versions

v0.2.0 → v1.0.02016-04-25

PHP version history (2 changes)v0.1.0PHP &gt;=5.5

v1.0.3PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/4e36e8bb2f8634e4078dfe6a4cb1802ce29b5713670f7f1ac522527aa2557a4b?d=identicon)[dphiffer](/maintainers/dphiffer)

---

Top Contributors

[![PhilippBaschke](https://avatars.githubusercontent.com/u/10756783?v=4)](https://github.com/PhilippBaschke "PhilippBaschke (38 commits)")[![dphiffer](https://avatars.githubusercontent.com/u/38114?v=4)](https://github.com/dphiffer "dphiffer (15 commits)")[![schliflo](https://avatars.githubusercontent.com/u/9881672?v=4)](https://github.com/schliflo "schliflo (7 commits)")[![mickaelperrin](https://avatars.githubusercontent.com/u/5844226?v=4)](https://github.com/mickaelperrin "mickaelperrin (2 commits)")[![alvaromartinezmajado](https://avatars.githubusercontent.com/u/3189449?v=4)](https://github.com/alvaromartinezmajado "alvaromartinezmajado (1 commits)")[![randmanrjr](https://avatars.githubusercontent.com/u/4073249?v=4)](https://github.com/randmanrjr "randmanrjr (1 commits)")[![knowler](https://avatars.githubusercontent.com/u/6908001?v=4)](https://github.com/knowler "knowler (1 commits)")

---

Tags

plugincomposerwordpressenvwpacfpro

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/dphiffer-acf-pro-installer/health.svg)

```
[![Health](https://phpackages.com/badges/dphiffer-acf-pro-installer/health.svg)](https://phpackages.com/packages/dphiffer-acf-pro-installer)
```

###  Alternatives

[philippbaschke/acf-pro-installer

An install helper for Advanced Custom Fields PRO

283724.6k](/packages/philippbaschke-acf-pro-installer)[ffraenz/private-composer-installer

A composer install helper for private packages

2331.7M5](/packages/ffraenz-private-composer-installer)[roots/bedrock

WordPress boilerplate with Composer, easier configuration, and an improved folder structure

6.5k441.8k2](/packages/roots-bedrock)[gotoandplay/gravityforms-composer-installer

A composer install helper for Gravity Forms

31389.9k](/packages/gotoandplay-gravityforms-composer-installer)

PHPackages © 2026

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