Napp / xray-laravel

AWS X-Ray tracing for Laravel apps
MIT License
56 stars 34 forks source link

Laravel 8.* installation failure #13

Closed danielleffler closed 3 years ago

danielleffler commented 3 years ago

Hello,

This package fails to install on Laravel 8 giving the following error output

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

Problem 1

websquarestation commented 3 years ago

Facing same issue with PHP 7.3 and 7.4 on Lumen framework. Any solution?

websquarestation commented 3 years ago

I am able to install this package by downgrading Lumen version. But now getting another issue and stucked. Target class [Illuminate\Foundation\Application] does not exist.

Kindly suggest any solution, as this class doesn't exists in Lumen?

alexmck commented 3 years ago

As a temporary measure you can use this: https://github.com/contaim/xray-laravel/tree/add-laravel-8

In your composer.json file:

"require": {
...
    "napp/xray-laravel": "dev-add-laravel-8",
...
},
"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/contaim/xray-laravel"
    }
],
viezel commented 3 years ago

Fixed in https://github.com/Napp/xray-laravel/releases/tag/1.2.0