bilfeldt / laravel-route-statistics

Log requests and group together for aggregated statistics of route usage
MIT License
221 stars 23 forks source link

Not possible to use the package in Laravel 10 with PHP 8.1? #21

Closed MuriloChianfa closed 1 year ago

MuriloChianfa commented 1 year ago

Subject of the issue

Im try to download the package in my project and none of the versios of i have tryied works.

Your environment

image

Steps to reproduce

Trying to install the latest version of the package: image

And the version recommended for PHP 8.1 in readme: image

Notice that not works for Laravel 10 using PHP 8.1 version.

Expected behaviour

Is expected to work in Laravel 10 with PHP 8.1 as described by Laravel 10: image

Actual behaviour

Having conflicts for this combination of versions. I think it's easy to solve, because for the combination of Laravel 10 with PHP 8.2 it already works.

bilfeldt commented 1 year ago

@MuriloChianfa the supported PHP version of this package is 8.2 and is not fixed with the supported PHP versions from Laravel.

That being said, I will consider if PHP 8.1 can be re-added as I can see you have submitted a PR for this #22

bilfeldt commented 1 year ago

Added in v2.2.0