laravel 5 unable to install Payum package - php

I am trying to use Payum laravel package for my ecommerce site, but I am unable to install it, I issue this composer command:
composer require payum/payum-laravel-package payum/stripe
And I get this error:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for payum/payum-laravel-package 0.13.* -> satisfiable
by payum/payum-laravel-package[0.13.0].
- Can only install one of: payum/core[0.14.0, 0.13.0].
- payum/stripe 0.14.0 requires payum/core 0.14.* -> satisfiable by payum/cor
e[0.14.0].
- payum/payum-laravel-package 0.13.0 requires payum/core 0.13.* -> satisfiab
le by payum/core[0.13.0].
- Installation request for payum/stripe 0.14.* -> satisfiable by payum/strip
e[0.14.0].
Installation failed, reverting ./composer.json to its original content.
Keep in mind that I need Stripe/Paypal/Authorize.net for my payments.

Related

Update Magento CE 2.4.2 to 2.4.4

We try to update from 2.4.2 to 2.4.4. (and tried to 2.4.3 as well) and as mentioned in the official docs, two steps should do it:
composer require magento/product-community-edition 2.4.4
composer update
On our installation, we get the following errors:
root#a9758412c9f0:/opt/bitnami/magento# composer require magento/product-community-edition 2.4.4 --update-with-all-dependencies
./composer.json has been updated
Running composer update magento/product-community-edition --with-all-dependencies
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
In Laminas\DependencyPlugin\DependencyRewriterV2::onPrePoolCreate
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires magento/product-community-edition 2.4.4 -> satisfiable by magento/product-community-edition[2.4.4].
- magento/magento-coding-standard is locked to version 6 and an update of this package was not requested.
- Conclusion: don't install webonyx/graphql-php v14.11.5 (conflict analysis result)
- Conclusion: don't install webonyx/graphql-php v14.11.6 (conflict analysis result)
- magento/product-community-edition 2.4.4 requires magento/framework 103.0.4 -> satisfiable by magento/framework[103.0.4].
- magento/magento-coding-standard 6 requires webonyx/graphql-php >=0.12.6 <1.0 -> satisfiable by webonyx/graphql-php[v0.12.6, ..., v0.13.9].
- You can only install one version of a package, so only one of these can be installed: webonyx/graphql-php[v0.12.6, ..., v0.13.9, v14.11.3, v14.11.4, v14.11.5, v14.11.6].
- magento/framework 103.0.4 requires webonyx/graphql-php ~14.11.3 -> satisfiable by webonyx/graphql-php[v14.11.3, v14.11.4, v14.11.5, v14.11.6].
- Conclusion: don't install webonyx/graphql-php v14.11.4 (conflict analysis result)
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
We tried to satisfy the dependencies manually by hand, but we saw way more errors at the end. Is there any Howto or Tutorial (apart from https://experienceleague.adobe.com/docs/commerce-operations/upgrade-guide/implementation/perform-upgrade.html) about the process or does somebody experienced similar issues? Is it meant to be like this, to resolve dependencies by hand? Its pain and maybe we missed the proper way to do it?

Failed to install plugins in Laravel

I'm trying to install domain-availability on the Laravel project but this is the result
PS C:\..\workspace v2> composer require helgesverre/domain-availability
Using version ^1.4 for helgesverre/domain-availability
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- helgesverre/domain-availability 1.4.0 requires jeremykendall/php-domain-parser ^3.0 -> satisfiable by jeremykendall/php-domain-parser[3.x-dev].
- helgesverre/domain-availability v1.4.1 requires jeremykendall/php-domain-parser ^3.0 -> satisfiable by jeremykendall/php-domain-parser[3.x-dev].
- Conclusion: don't install jeremykendall/php-domain-parser 3.x-dev
- Installation request for helgesverre/domain-availability ^1.4 -> satisfiable by helgesverre/domain-availability[1.4.0, v1.4.1].
Installation failed, reverting ./composer.json to its original content.
PS C:\..\workspace v2>
I'm using this library
https://github.com/HelgeSverre/Domain-Availability
and i activated extension=intl in php.ini file
and install jeremykendall/php-domain-parser using command
composer require jeremykendall/php-domain-parser
How do I solve this problem?

Can't install Google Cloud PHP client

Having issues installing Google Cloud PHP client using Composer.
Any ideas how to best resolve the issues:
Using version ^0.33.1 for google/cloud
./composer.json has been updated
Loading composer repositories with package information Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Can only install one of: google/auth[v1.0, v0.11.1].
- Can only install one of: google/auth[v1.0, v0.11.1].
- Can only install one of: google/auth[v1.0, v0.11.1].
- google/cloud v0.33.1 requires google/auth ^1.0 -> satisfiable by google/auth[v1.0].
- Installation request for google/cloud ^0.33.1 -> satisfiable by google/cloud[v0.33.1].
- Installation request for google/auth (locked at v0.11.1) -> satisfiable by google/auth[v0.11.1].
Installation failed, reverting ./composer.json to its original content.
sfbstack#villada:~/api/dev$

When trying to install php-jwt facing trouble with auth0

I'm trying to install php-jwt. When I enter the following command
composer require firebase/php-jwt
it gives the following error.
Using version ^4.0 for firebase/php-jwt
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- auth0/auth0-php 4.0.12 requires firebase/php-jwt ^3.0 -> satisfiable by firebase/php-jwt[v3.0.0] but these conflict with your requirements or minimum-stability.
- auth0/auth0-php 4.0.12 requires firebase/php-jwt ^3.0 -> satisfiable by firebase/php-jwt[v3.0.0] but these conflict with your requirements or minimum-stability.
- auth0/auth0-php 4.0.12 requires firebase/php-jwt ^3.0 -> satisfiable by firebase/php-jwt[v3.0.0] but these conflict with your requirements or minimum-stability.
- Installation request for auth0/auth0-php (locked at 4.0.12, required as ~4.0) -> satisfiable by auth0/auth0-php[4.0.12].
Installation failed, reverting ./composer.json to its original content.
For better understanding giving the screenshot here.
I've tried enough but couldn't find any good solution.
that's because your are trying to install the latest version of php-jwt which is: 4.0 as shown at packagist.org.
In the same time which is another packages - seems to be auth0 is using older version of php-jwt which is 3.0, so you will have to install php-jwt with the version 3.0 as follows:
composer require firebase/php-jwt:^3.0
OR
update your auth0 package to the latest version which is using the latest major version of php-jwt as shown in here:
"firebase/php-jwt" : "^4.0"
Note: Don't forget to take a backup of your project before updating your packages.

Laravel lumen install Mail from composer

I'm trying to install Mail client on Lumen, but I get the following error:
mahdi#HP-EliteBook:/var/www/lumen$ composer require illuminate/mail
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Can only install one of: illuminate/support[v5.2.0, v5.1.25].
- Can only install one of: illuminate/support[v5.2.0, v5.1.25].
- Can only install one of: illuminate/support[v5.2.0, v5.1.25].
- illuminate/mail v5.2.0 requires illuminate/support 5.2.* -> satisfiable by illuminate/support[v5.2.0].
- Installation request for illuminate/mail 5.2 -> satisfiable by illuminate/mail[v5.2.0].
- Installation request for illuminate/support == 5.1.25.0 -> satisfiable by illuminate/support[v5.1.25].
Installation failed, reverting ./composer.json to its original content.
How do I install Mail on this micro-framework?
Laravel and all the illuminate components were recently updated to 5.2.* (12/21/2015). Lumen, however, has not been updated and still needs the 5.1.* components.
Since you didn't specify the version of illuminate/mail to install, it tried to install the latest version (5.2). You need to require the 5.1 version instead:
composer require illuminate/mail:5.1.*

Categories