Install errors via composer

Created on 4 July 2025, 10 days ago

Problem/Motivation

When I try to install the module using composer require drupal/govuk_pay I get this error

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires drupal/govuk_pay * -> satisfiable by drupal/govuk_pay[dev-1.x, 1.0.0-alpha1, 1.0.0-alpha2, 1.x-dev].
    - drupal/govuk_pay[dev-1.x, 1.0.0-alpha1, ..., 1.x-dev] require tanc/govuk-pay-client-php ^1.0.3 -> could not be found in any version, there may be a typo in the package name.

Is tanc/govuk-pay-client-php published?
https://packagist.org/search/?query=tanc%2Fgovuk-pay-client-php
Maybe https://github.com/tanc/govuk-pay-client-php needs to be added to packagist?

Steps to reproduce

Try to install the module using composer require drupal/govuk_pay.

Proposed resolution

Either make sure tanc/govuk-pay-client-php is published as an installable package, or change the requirement to an official library.

Remaining tasks

Publish the package!

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom andybroomfield

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024