acf-pro-installer icon indicating copy to clipboard operation
acf-pro-installer copied to clipboard

Composer 2.0 support

Open arnespremberg opened this issue 4 years ago • 4 comments

Hi there!

My usage broke today since it seems not to be compatible anymore with composer 2.0. See the following log:

The "philippbaschke/acf-pro-installer" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the "--no-plugins" option.

Any ideas on a quick fix?

arnespremberg avatar Nov 24 '20 12:11 arnespremberg

Hi,

This plugin is more or less abandoned, the last change was mid 2017. Most people use one of these two alternatives:

pivvenit/acf-pro-installer ffraenz/private-composer-installer

The first one is a fork/rewrite of this plugin that is composer 2.0 and PHP8 compatible . You can use it in the same way as this plugin, or (as I would recommend) using our composer repository as described in the documentation. This enables you to actually use semver ranges, and to have tools like dependabot automatically update your ACF version.

The second one is Composer 2 and php8 compatible as well. It's main advantage is that it supports arbitrary private packages. However since you have specify the URL of the package to download (including version), tools like dependabot won't work.

Both plugins have active maintainers, and are supported for the forseeable future.

Disclaimer: I'm the author of pivvenit/acf-pro-installer. I believe i've described both plugins objectively, but if anyone has something to add, feel free to respond :)

Qrious avatar Nov 27 '20 19:11 Qrious

I think you described the status quo very well :)

Disclaimer: I'm the author of the other package.

ffraenz avatar Nov 27 '20 20:11 ffraenz

I'm actually laughing so hard at the exchange above. Thanks for the help!

LaunchpadMediaLLC avatar Dec 14 '20 20:12 LaunchpadMediaLLC

I had a good experience with https://github.com/junaidbhura/composer-wp-pro-plugins.

certainlyakey avatar Aug 02 '21 13:08 certainlyakey