netflie / whatsapp-cloud-api

The first PHP API to send and receive messages using a cloud-hosted version of the WhatsApp Business Platform
https://netflie.es/portfolio/whatsapp-business-cloud-api-php-sdk/
MIT License
449 stars 163 forks source link

How to install this package in Laravel? #55

Closed tmcdiscord closed 1 year ago

tmcdiscord commented 1 year ago

When I run the composer command, I get those errors:

Info from https://repo.packagist.org: #StandWithUkraine
Using version ^1.3 for netflie/whatsapp-cloud-api
./composer.json has been updated
Running composer update netflie/whatsapp-cloud-api
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires netflie/whatsapp-cloud-api ^1.3 -> satisfiable by netflie/whatsapp-cloud-api[1.3.0].
    - netflie/whatsapp-cloud-api 1.3.0 requires guzzlehttp/guzzle ^7.0 -> found guzzlehttp/guzzle[dev-master, 7.0.0-beta.1, ..., 7.5.x-dev (alias of dev-master)] but it conflicts with your root composer.json require (^6.3).

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require netflie/whatsapp-cloud-api:*" to figure out if any version is installable, or "composer require netflie/whatsapp-cloud-api:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
aalbarca commented 1 year ago

Hello,

We don't offer to support with another packages. You should update your Laravel application or the guzzle package version defined in your composer.json file. More info about composer in https://getcomposer.org/doc/01-basic-usage.md

If you need premium support please contact by hola@netflie.es

Thanks.