2017 © Pedro Peláez
 

composer-plugin acf-pro-installer

An install helper for Advanced Custom Fields PRO. Forked from https://github.com/PhilippBaschke/acf-pro-installer

image

iff-studio/acf-pro-installer

An install helper for Advanced Custom Fields PRO. Forked from https://github.com/PhilippBaschke/acf-pro-installer

  • Thursday, November 9, 2017
  • by maciekpaprocki
  • Repository
  • 1 Watchers
  • 0 Stars
  • 120 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 16 Forks
  • 1 Open issues
  • 7 Versions
  • 8 % Grown

The README.md

This is fork

This is fork of https://github.com/PhilippBaschke/acf-pro-installer, (*1)

Due to issues braking builds I had to fork project and apply community fixes. I intend to stop adding fixes to this project as soon as original author will include community patches., (*2)

Thanks Philipp Baschke for developing this amazing library as it saved loads of developers hours of work., (*3)

ACF PRO Installer

Packagist Packagist Travis Coveralls, (*4)

A composer plugin that makes installing ACF PRO with composer easier., (*5)

It reads your :key: ACF PRO key from the environment or a .env file., (*6)

Usage

1. Add the package repository to the repositories field in composer.json (based on this gist):, (*7)

{
  "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": {
      "iff-studio/acf-pro-installer": "^1.0",
      "composer/installers": "^1.0"
    }
  }
}

Replace "version": "*.*.*(.*)" with your desired version., (*8)

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., (*9)

2. Make your ACF PRO key available, (*10)

Set the environment variable ACF_PRO_KEY to your ACF PRO key., (*11)

Alternatively you can add an entry to your .env file:, (*12)

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

3. Require ACF PRO, (*13)

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

You can specify an exact version (that matches your desired version)., (*14)

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., (*15)

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., (*16)

The Versions

09/11 2017

dev-master

9999999-dev

An install helper for Advanced Custom Fields PRO. Forked from https://github.com/PhilippBaschke/acf-pro-installer

  Sources   Download

MIT

The Requires

 

The Development Requires

by Philipp Baschke

plugin wordpress wp composer env acf pro

09/11 2017

v1.0.3

1.0.3.0

An install helper for Advanced Custom Fields PRO. Forked from https://github.com/PhilippBaschke/acf-pro-installer

  Sources   Download

MIT

The Requires

 

The Development Requires

by Philipp Baschke

plugin wordpress wp composer env acf pro

20/07 2016

v1.0.2

1.0.2.0

An install helper for Advanced Custom Fields PRO

  Sources   Download

MIT

The Requires

 

The Development Requires

by Philipp Baschke

plugin wordpress wp composer env acf pro

19/05 2016

v1.0.1

1.0.1.0

An install helper for Advanced Custom Fields PRO

  Sources   Download

MIT

The Requires

 

The Development Requires

by Philipp Baschke

plugin wordpress wp composer env acf pro

25/04 2016

v1.0.0

1.0.0.0

An install helper for Advanced Custom Fields PRO

  Sources   Download

MIT

The Requires

 

The Development Requires

by Philipp Baschke

plugin wordpress wp composer env acf pro

23/04 2016

v0.2.0

0.2.0.0

An install helper for Advanced Custom Fields PRO

  Sources   Download

MIT

The Requires

 

The Development Requires

by Philipp Baschke

plugin wordpress wp composer env acf pro

15/04 2016

v0.1.0

0.1.0.0

An install helper for Advanced Custom Fields PRO

  Sources   Download

MIT

The Requires

 

The Development Requires

by Philipp Baschke

plugin wordpress wp composer env acf pro