Last active
March 31, 2020 16:42
-
-
Save JodiWarren/c5f7856f4f002b833662 to your computer and use it in GitHub Desktop.
Advanced Custom Fields PRO for Composer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"repositories": [ | |
{ | |
"type": "package", | |
"package": { | |
"name": "advanced-custom-fields/advanced-custom-fields-pro", | |
"version": "5.0", | |
"type": "wordpress-plugin", | |
"dist": { | |
"type": "zip", | |
"url": "https://connect.advancedcustomfields.com/index.php?p=pro&a=download&k=yourkeyhere&t=versionnumberhere" | |
} | |
} | |
} | |
], | |
"require": { | |
"advanced-custom-fields/advanced-custom-fields-pro": "^5.0" | |
} | |
} |
You could try https://github.com/PhilippBaschke/acf-pro-installer if you do not want to commit your key (sorry for the shameless promotion 😁).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To use, add this object to the
repositories
array in yourcomposer.json
. Be sure to replaceyourkeyhere
with your ACF product key andversionnumberhere
with your version number. That latter part is necessary because Composer will not re-download a new file for updates if it doesn't see a new URL.After doing this, run
composer install
.