romanzipp / Laravel-Queue-Monitor

Monitoring Laravel Jobs with your Database
https://packagist.org/packages/romanzipp/laravel-queue-monitor
MIT License
698 stars 92 forks source link

Compatibility issue with Laravel 10 #107

Closed fh32000 closed 1 year ago

fh32000 commented 1 year ago

I'm trying to use this package in my Laravel 10 project, but I'm encountering an error related to compatibility. I believe there is a conflict between the requirements of package and Laravel 10. Can you please help me resolve this issue?

{
    "require": {
        "php": "^8.1",
        "laravel/framework": "^10.0",
        "romanzipp/laravel-queue-monitor": "^2.3"
    },
    "minimum-stability": "dev",
    "prefer-stable": true
}
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - illuminate/support[v5.6.0, ..., 5.8.x-dev] require php ^7.1.3 -> your php version (8.1.13) does not satisfy that requirement.
    - illuminate/support[v6.0.0, ..., v6.19.1] require php ^7.2 -> your php version (8.1.13) does not satisfy that requirement.
    - illuminate/support[v7.0.0, ..., v7.28.4] require php ^7.2.5 -> your php version (8.1.13) does not satisfy that requirement.
    - illuminate/support[v8.0.0, ..., v8.11.2] require php ^7.3 -> your php version (8.1.13) does not satisfy that requirement.
    - Root composer.json requires laravel/framework ^10.0 -> satisfiable by laravel/framework[10.x-dev].
    - romanzipp/laravel-queue-monitor[2.3.0, ..., 2.3.3] require illuminate/support ^5.5|^6.0|^7.0|^8.0|^9.0 -> satisfiable by illuminate/support[v5.5.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev, v9.0.0-beta.1, ..., 9.x-dev].
    - Only one of these can be installed: illuminate/support[v5.5.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev, v9.0.0-beta.1, ..., 9.x-dev], laravel/framework[10.x-dev]. laravel/framework replaces illuminate/support and thus cannot coexist with it.
    - Root composer.json requires romanzipp/laravel-queue-monitor ^2.3 -> satisfiable by romanzipp/laravel-queue-monitor[2.3.0, 2.3.1, 2.3.2, 2.3.3].
romanzipp commented 1 year ago

As far as I know Laravel 10 isn't stable yet so I'd like to wait before updating the package requirements.

In the meantime you cam fork this repo and add it as an external "repository" requirement

fh32000 commented 1 year ago

@romanzipp I have created a pull request to support Laravel 10. Can you please review my work?