PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, January 7, 2022

[FIXED] How to install the omnipay's ipay88 package with composer?

 January 07, 2022     composer-php, omnipay, php     No comments   

Issue

Problem 1

- dilab/omnipay-ipay88[2.0.0, ..., 2.0.1] require omnipay/common 3.0-beta.1 -> found omnipay/common[v3.0-beta.1] but it does not match your minimum-stability.
- Root composer.json requires dilab/omnipay-ipay88 ~2.0.0 -> satisfiable by dilab/omnipay-ipay88[2.0.0, 2.0.1].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades, and removals for packages currently locked to specific versions.

Composer is new to me so I might do something wrong in installing.

I tried to add the below code in my composer.json file, and then I used the "composer update" command but the same error still occurs. I really need help, I am also quite new to stack overflow. Sorry if my question is not clear enough.

"require": {"dilab/omnipay-ipay88": "~2.0"}

This is the Github link I am trying to install https://github.com/dilab/omnipay-ipay88


Solution

You need to manually require omnipay/common in your main composer.json together with dilab/omnipay-ipay88:

"require": {
    "dilab/omnipay-ipay88": "~2.0",
    "omnipay/common": "3.0-beta.1"
}

This is due to dilab/omnipay-ipay88 using a beta version of omnipay/common, and without minimum-stability config, Composer will not install any non-stable dependencies that are not required directly in your main composer.json.

With the config above, you will work around the but it does not match your minimum-stability error message, while keeping your other dependencies stable.



Answered By - Edi Modrić
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing