All Projects → PhilippBaschke → Acf Pro Installer

PhilippBaschke / Acf Pro Installer

Licence: mit
A composer install helper for Advanced Custom Fields PRO

Projects that are alternatives of or similar to Acf Pro Installer

Private Composer Installer
Composer install helper outsourcing sensitive keys from the package URL into environment variables
Stars: ✭ 168 (-36.6%)
Mutual labels:  wordpress, acf, composer, packagist, composer-plugin
composer-diff
Compares composer.lock changes and generates Markdown report so you can use it in PR description.
Stars: ✭ 51 (-80.75%)
Mutual labels:  packagist, composer, composer-plugin
Acf Builder
An Advanced Custom Field Configuration Builder
Stars: ✭ 492 (+85.66%)
Mutual labels:  wordpress, acf, composer
Awesome Composer
😎 A curated awesome list for Composer, Packagist, Satis, Plugins, Scripts, Composer related resources, tutorials.
Stars: ✭ 738 (+178.49%)
Mutual labels:  composer, packagist, composer-plugin
Composify
Turn WordPress plugin zip files into git repositories, so that composer version constraints work properly.
Stars: ✭ 36 (-86.42%)
Mutual labels:  wordpress, wordpress-development, composer
Beetbox
Pre-provisioned L*MP stack
Stars: ✭ 94 (-64.53%)
Mutual labels:  wordpress, composer, composer-plugin
composer-velocita
Velocita - Composer plugin for transparent caching
Stars: ✭ 26 (-90.19%)
Mutual labels:  packagist, composer, composer-plugin
Imposter Plugin
Composer plugin that wraps all composer vendor packages inside your own namespace. Intended for WordPress plugins.
Stars: ✭ 90 (-66.04%)
Mutual labels:  wordpress, wordpress-development, composer-plugin
Wpstarter
Easily bootstrap whole site Composer packages for WordPress.
Stars: ✭ 182 (-31.32%)
Mutual labels:  wordpress, wordpress-development, composer
composer-localdev-plugin
Composer Plugin for local development
Stars: ✭ 31 (-88.3%)
Mutual labels:  packagist, composer, composer-plugin
private-packagist-api-client
Private Packagist API Client
Stars: ✭ 28 (-89.43%)
Mutual labels:  packagist, composer
dudestack
A toolkit for creating a new professional WordPress project with deployments. Originally based on Roots/bedrock.
Stars: ✭ 82 (-69.06%)
Mutual labels:  composer, wordpress-development
wp-skeleton
Setup a new WordPress installation via Composer
Stars: ✭ 36 (-86.42%)
Mutual labels:  composer, wordpress-development
composer-cost
Displays cost/size of each composer package installed.
Stars: ✭ 31 (-88.3%)
Mutual labels:  composer, composer-plugin
ip
Immutable value object for IPv4 and IPv6 addresses, including helper methods and Doctrine support.
Stars: ✭ 212 (-20%)
Mutual labels:  packagist, composer
wp-translation-downloader
Composer plugin to download WordPress translations
Stars: ✭ 35 (-86.79%)
Mutual labels:  composer, composer-plugin
alfred-packagist
Alfred workflow to search for PHP packages with Packagist
Stars: ✭ 21 (-92.08%)
Mutual labels:  packagist, composer
composer-patches-plugin
Plugin for composer to apply patches onto dependencies.
Stars: ✭ 75 (-71.7%)
Mutual labels:  composer, composer-plugin
cyclonedx-php-composer
Create CycloneDX Software Bill of Materials (SBOM) from PHP Composer projects
Stars: ✭ 20 (-92.45%)
Mutual labels:  composer, composer-plugin
Fabrica Dev Kit
A toolkit for faster, smoother WordPress 5 development
Stars: ✭ 256 (-3.4%)
Mutual labels:  wordpress, wordpress-development

ACF PRO Installer

Packagist Packagist Travis Coveralls

A composer plugin that makes installing ACF PRO with composer easier.

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

Usage

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

{
  "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": {
      "philippbaschke/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.

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 (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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].