Can't install:
$ composer require sendgrid/sendgrid
Using version ^4.0 for sendgrid/sendgrid
./composer.json has been updated
> php artisan clear-compiled
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
- Conclusion: don't install sendgrid/sendgrid 4.0.2
- Conclusion: don't install sendgrid/sendgrid 4.0.1
- Conclusion: remove symfony/event-dispatcher v3.0.1
- Installation request for sendgrid/sendgrid ^4.0 -> satisfiable by sendgrid/sendgrid[4.0.0, 4.0.1, 4.0.2].
- Conclusion: don't install symfony/event-dispatcher v3.0.1
- sendgrid/sendgrid 4.0.0 requires guzzle/guzzle ~3.9 -> satisfiable by guzzle/guzzle[v3.9.0, v3.9.1, v3.9.2, v3.9.3].
- guzzle/guzzle v3.9.0 requires symfony/event-dispatcher ~2.1 -> satisfiable by symfony/event-dispatcher[v2.1.0, v2.1.1, v2.1.10, v2.1.11, v2.1.12, v2.1.13, v2.1.2, v2.1.3, v2.1.4, v2.1.5, v2.1.6, v2.1.7, v2.1.8, v2.1.9, v2.2.0, v2.2.1, v2.2.10, v2.2.11, v2.2.2, v2.2.3, v2.2.4, v2.2.5, v2.2.6, v2.2.7, v2.2.8, v2.2.9, v2.3.0, v2.3.1, v2.3.10, v2.3.11, v2.3.12, v2.3.13, v2.3.14, v2.3.15, v2.3.16, v2.3.17, v2.3.18, v2.3.19, v2.3.2, v2.3.20, v2.3.21, v2.3.22, v2.3.23, v2.3.24, v2.3.25, v2.3.26, v2.3.27, v2.3.28, v2.3.29, v2.3.3, v2.3.30, v2.3.31, v2.3.32, v2.3.33, v2.3.34, v2.3.35, v2.3.36, v2.3.37, v2.3.4, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9, v2.4.0, v2.4.1, v2.4.10, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.4.9, v2.5.0, v2.5.1, v2.5.10, v2.5.11, v2.5.12, v2.5.2, v2.5.3, v2.5.4, v2.5.5, v2.5.6, v2.5.7, v2.5.8, v2.5.9, v2.6.0, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.1, v2.7.2, v2.7.3, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.2].
- guzzle/guzzle v3.9.1 requires symfony/event-dispatcher ~2.1 -> satisfiable by symfony/event-dispatcher[v2.1.0, v2.1.1, v2.1.10, v2.1.11, v2.1.12, v2.1.13, v2.1.2, v2.1.3, v2.1.4, v2.1.5, v2.1.6, v2.1.7, v2.1.8, v2.1.9, v2.2.0, v2.2.1, v2.2.10, v2.2.11, v2.2.2, v2.2.3, v2.2.4, v2.2.5, v2.2.6, v2.2.7, v2.2.8, v2.2.9, v2.3.0, v2.3.1, v2.3.10, v2.3.11, v2.3.12, v2.3.13, v2.3.14, v2.3.15, v2.3.16, v2.3.17, v2.3.18, v2.3.19, v2.3.2, v2.3.20, v2.3.21, v2.3.22, v2.3.23, v2.3.24, v2.3.25, v2.3.26, v2.3.27, v2.3.28, v2.3.29, v2.3.3, v2.3.30, v2.3.31, v2.3.32, v2.3.33, v2.3.34, v2.3.35, v2.3.36, v2.3.37, v2.3.4, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9, v2.4.0, v2.4.1, v2.4.10, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.4.9, v2.5.0, v2.5.1, v2.5.10, v2.5.11, v2.5.12, v2.5.2, v2.5.3, v2.5.4, v2.5.5, v2.5.6, v2.5.7, v2.5.8, v2.5.9, v2.6.0, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.1, v2.7.2, v2.7.3, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.2].
- guzzle/guzzle v3.9.2 requires symfony/event-dispatcher ~2.1 -> satisfiable by symfony/event-dispatcher[v2.1.0, v2.1.1, v2.1.10, v2.1.11, v2.1.12, v2.1.13, v2.1.2, v2.1.3, v2.1.4, v2.1.5, v2.1.6, v2.1.7, v2.1.8, v2.1.9, v2.2.0, v2.2.1, v2.2.10, v2.2.11, v2.2.2, v2.2.3, v2.2.4, v2.2.5, v2.2.6, v2.2.7, v2.2.8, v2.2.9, v2.3.0, v2.3.1, v2.3.10, v2.3.11, v2.3.12, v2.3.13, v2.3.14, v2.3.15, v2.3.16, v2.3.17, v2.3.18, v2.3.19, v2.3.2, v2.3.20, v2.3.21, v2.3.22, v2.3.23, v2.3.24, v2.3.25, v2.3.26, v2.3.27, v2.3.28, v2.3.29, v2.3.3, v2.3.30, v2.3.31, v2.3.32, v2.3.33, v2.3.34, v2.3.35, v2.3.36, v2.3.37, v2.3.4, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9, v2.4.0, v2.4.1, v2.4.10, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.4.9, v2.5.0, v2.5.1, v2.5.10, v2.5.11, v2.5.12, v2.5.2, v2.5.3, v2.5.4, v2.5.5, v2.5.6, v2.5.7, v2.5.8, v2.5.9, v2.6.0, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.1, v2.7.2, v2.7.3, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.2].
- guzzle/guzzle v3.9.3 requires symfony/event-dispatcher ~2.1 -> satisfiable by symfony/event-dispatcher[v2.1.0, v2.1.1, v2.1.10, v2.1.11, v2.1.12, v2.1.13, v2.1.2, v2.1.3, v2.1.4, v2.1.5, v2.1.6, v2.1.7, v2.1.8, v2.1.9, v2.2.0, v2.2.1, v2.2.10, v2.2.11, v2.2.2, v2.2.3, v2.2.4, v2.2.5, v2.2.6, v2.2.7, v2.2.8, v2.2.9, v2.3.0, v2.3.1, v2.3.10, v2.3.11, v2.3.12, v2.3.13, v2.3.14, v2.3.15, v2.3.16, v2.3.17, v2.3.18, v2.3.19, v2.3.2, v2.3.20, v2.3.21, v2.3.22, v2.3.23, v2.3.24, v2.3.25, v2.3.26, v2.3.27, v2.3.28, v2.3.29, v2.3.3, v2.3.30, v2.3.31, v2.3.32, v2.3.33, v2.3.34, v2.3.35, v2.3.36, v2.3.37, v2.3.4, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9, v2.4.0, v2.4.1, v2.4.10, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.4.9, v2.5.0, v2.5.1, v2.5.10, v2.5.11, v2.5.12, v2.5.2, v2.5.3, v2.5.4, v2.5.5, v2.5.6, v2.5.7, v2.5.8, v2.5.9, v2.6.0, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.1, v2.7.2, v2.7.3, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.2].
- Can only install one of: symfony/event-dispatcher[v2.8.0, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.8.1, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.8.2, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.1.0, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.1.1, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.1.10, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.1.11, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.1.12, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.1.13, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.1.2, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.1.3, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.1.4, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.1.5, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.1.6, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.1.7, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.1.8, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.1.9, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.2.0, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.2.1, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.2.10, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.2.11, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.2.2, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.2.3, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.2.4, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.2.5, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.2.6, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.2.7, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.2.8, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.2.9, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.0, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.1, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.10, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.11, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.12, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.13, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.14, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.15, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.16, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.17, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.18, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.19, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.2, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.20, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.21, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.22, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.23, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.24, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.25, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.26, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.27, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.28, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.29, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.3, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.30, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.31, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.32, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.33, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.34, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.35, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.36, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.37, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.4, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.5, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.6, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.7, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.8, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.3.9, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.4.0, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.4.1, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.4.10, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.4.2, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.4.3, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.4.4, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.4.5, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.4.6, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.4.7, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.4.8, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.4.9, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.5.0, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.5.1, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.5.10, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.5.11, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.5.12, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.5.2, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.5.3, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.5.4, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.5.5, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.5.6, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.5.7, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.5.8, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.5.9, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.6.0, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.6.1, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.6.10, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.6.11, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.6.12, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.6.13, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.6.2, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.6.3, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.6.4, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.6.5, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.6.6, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.6.7, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.6.8, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.6.9, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.7.0, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.7.1, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.7.2, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.7.3, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.7.4, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.7.5, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.7.6, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.7.7, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.7.8, v3.0.1].
- Can only install one of: symfony/event-dispatcher[v2.7.9, v3.0.1].
- Installation request for symfony/event-dispatcher == 3.0.1.0 -> satisfiable by symfony/event-dispatcher[v3.0.1].
Installation failed, reverting ./composer.json to its original content.
I am having the same issue. Specifically, with Symfony 3.0.2
Same problem with Laravel 5.2, Guzzle 3.9 is too recent for Laravel 5.2 who use Guzzle 3.8 with older symfony components. Lot of people use Laravel framework maybe its the good idea to downgrade Guzzle if its compatible with this API. I will try to fork and change the version for have a try with Guzzle 3.8
Same issue, and unfortunately this is show stopper for me now. I have platinum account of send grid can you please tell me fix to this problem.
In the new version of our library, we have removed the Guzzle dependency. You can check out the new HTTP client we will be using here: https://github.com/sendgrid/php-http-client
The new library is just around the corner, but unfortunately I can not provide a specific date.
In the mean time we don't have a work around for this dependency. The only band aid solution would be to replace the Guzzle dependency yourself.
Please stay tuned to this repo for updates.
Thanks!
Thanks for your reply,
But i have fixed this issue by following steps:
1- remove old sendgrid from composer file.
2- update composer
3- add following dependencies in composer.json file
"guzzlehttp/guzzle": "5.2"
run update composer
4- add sendgrid package in composer.json and run update composer and you are ready to go.
P.S. i just tested it with sendgrid 3.2 and its working perfectly fine with laravel 5.2. Will test with the latest version of sendgrid, in which they are still using guzzle as http client.
Thanks,
Awn
For symfony 3.0.x users:
Add to composer.json "require" section:
"symfony/event-dispatcher": "dev-master as 2.8"
do update and then composer require sendgrid/sendgrid
Most helpful comment
For symfony 3.0.x users:
Add to composer.json "require" section:
"symfony/event-dispatcher": "dev-master as 2.8"
do update and then composer require sendgrid/sendgrid