TheoKouzelis / laravel-airbrake

Laravel service provider for Airbrake https://github.com/airbrake/phpbrake
MIT License
25 stars 24 forks source link

Issue with Laravel 7 & guzzle #14

Closed retronoodle closed 3 years ago

retronoodle commented 4 years ago

I've installed this several times with no issue, but this one is being a pain:

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

  Problem 1
    - Can only install one of: guzzlehttp/guzzle[7.0.1, 6.5.x-dev].
    - Can only install one of: guzzlehttp/guzzle[6.5.x-dev, 7.0.1].
    - Can only install one of: guzzlehttp/guzzle[6.5.x-dev, 7.0.1].
    - airbrake/phpbrake v0.7.3 requires guzzlehttp/guzzle ^6.3 -> satisfiable by guzzlehttp/guzzle[6.5.x-dev].
    - kouz/laravel-airbrake 0.6.0 requires airbrake/phpbrake ^0.7.3 -> satisfiable by airbrake/phpbrake[v0.7.3].
    - Installation request for kouz/laravel-airbrake ^0.6.0 -> satisfiable by kouz/laravel-airbrake[0.6.0].
    - Installation request for guzzlehttp/guzzle (locked at 7.0.1, required as ^7.0) -> satisfiable by guzzlehttp/guzzle[7.0.1].

Installation failed, reverting ./composer.json to its original content.

So far have tried composer update - no success

Tried removing the composer.lock and vendor folder, no success there either.

Any ideas? Much thanks!

ars-oliveira commented 4 years ago

same problem here

TheoKouzelis commented 3 years ago

This package doesn't directly require guzzle, it's a dependency of airbrake/phpbrake. So PR's and issues should be directed there. But I think this could be fixed now https://github.com/airbrake/phpbrake/commit/260183200fcd5d7d6f03c927cef7ae7ccdee9f33