Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is experiencing an issue installing WPML in a Bedrock + Composer setup due to the inability to access the official WPML Composer repository at https://packages.wpml.org/packages.json. The error reported is 'curl error 6: Could not resolve host: packages.wpml.org', and DNS resolution for packages.wpml.org fails (NXDOMAIN).
Solution:
We currently do not support installation or updates of WPML via Composer natively. There is no official or supported method to automatically fetch the latest WPML versions via Composer. However, a suggested workaround is discussed in a forum thread, which can be found here: https://wpml.org/forums/topic/composer-update-to-latest-plugins-versions/. Additionally, you can refer to our errata entry here: https://wpml.org/errata/composer-installation-of-wpml-not-officially-supported-yet/. A third-party project that might help is available at https://github.com/ffraenz/private-composer-installer, where the version can be handled as a placeholder.

If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we recommend opening a new support ticket. We also highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. For further assistance, please contact us through the WPML support forum.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 4 replies, has 0 voices.

Last updated by Andrey 3 months ago.

Assisted by: Andrey.

Author Posts
February 9, 2026 at 9:57 pm #17806937

ericP-61

Hello,

I’m having an issue installing WPML in a Bedrock + Composer setup.

Context
WordPress Bedrock (plugins managed via Composer)
DISALLOW_FILE_MODS = true (so OTGS Installer via admin is not an option)
Valid WPML Multilingual CMS license (ZIP downloads available)

Problem
Composer fails when trying to access the official WPML Composer repository:
hidden link

Error:
curl error 6: Could not resolve host: packages.wpml.org
nslookup packages.wpml.org → NXDOMAIN

What we verified
DNS on the server uses Google DNS (8.8.8.8 / 8.8.4.4)
wpml.org resolves correctly
Other external Composer repositories work
Only packages.wpml.org fails to resolve

The hosting provider claims that:
“packages.wpml.org does not work on the internet, so this is a WPML issue”
From a technical standpoint, I understand that packages.wpml.org is not meant to be browsed publicly, but it should still resolve via DNS and be accessible for Composer.

Questions
Can you confirm that packages.wpml.org is a valid domain and required for WPML installation via Composer?
Are there any additional domains/IPs that must be whitelisted for Composer-based WPML installs?
Do you have official documentation or confirmation I can forward to the hosting provider to unblock this?

Thanks in advance for your help.

February 9, 2026 at 11:10 pm #17807001

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for contacting WPML support.

Let me check this with my team, and I’ll get back to you.

February 10, 2026 at 10:13 am #17808183

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for your patience.

At the moment, WPML does not natively support installation or updates via Composer, and there is no official or supported way to automatically fetch the latest WPML versions via Composer.

You can find a suggested workaround discussed in this forum thread:
https://wpml.org/forums/topic/composer-update-to-latest-plugins-versions/

Please note that this approach is not officially supported, and I cannot guarantee that it will work reliably in all cases.

For reference, you can also see our errata entry here:
https://wpml.org/errata/composer-installation-of-wpml-not-officially-supported-yet/

If Composer-based support becomes available in the future, we will announce it in our official documentation and release notes.

February 10, 2026 at 2:20 pm #17809603

ericP-61

Hi Andrey,

Thanks for your quick reply.

The link you shared for the workaround says "Page not found". Could you please share it again ?

February 10, 2026 at 2:27 pm #17809631

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Sorry, the support ticket appears to be archived. Let me repost the message here:

We do not support composer officially, but there is a 3rd party project where the version can be handled as a placeholder: hidden link. In this project, the version gets set in the package. Currently, I'm not aware of any way to automate the input of the version number.