Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package not compatible with Laravel 11 #26

Open
spamserv opened this issue Mar 18, 2024 · 1 comment
Open

Package not compatible with Laravel 11 #26

spamserv opened this issue Mar 18, 2024 · 1 comment

Comments

@spamserv
Copy link

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

  Problem 1
    - Root composer.json requires kmlaravel/laravel-geographical-calculator ^2.2 -> satisfiable by kmlaravel/laravel-geographical-calculator[v2.2.0].
    - Conclusion: don't install nunomaduro/collision v8.1.1 (conflict analysis result)
    - kmlaravel/laravel-geographical-calculator v2.2.0 requires phpunit/phpunit ^9.5 -> satisfiable by phpunit/phpunit[9.5.0, ..., 9.6.17].
    - nunomaduro/collision v8.1.0 conflicts with phpunit/phpunit 9.6.17.
    - nunomaduro/collision v8.1.0 conflicts with phpunit/phpunit 9.6.11.
    - nunomaduro/collision v8.1.0 conflicts with phpunit/phpunit 9.5.27.
    - nunomaduro/collision v8.1.0 conflicts with phpunit/phpunit 9.5.24.
    - nunomaduro/collision v8.1.0 conflicts with phpunit/phpunit 9.5.23.
    - nunomaduro/collision v8.1.0 conflicts with phpunit/phpunit 9.5.22.
    - nunomaduro/collision v8.1.0 conflicts with phpunit/phpunit 9.5.18.
    - nunomaduro/collision v8.1.0 conflicts with phpunit/phpunit 9.5.14.
    - nunomaduro/collision v8.1.0 conflicts with phpunit/phpunit 9.5.9.
    - nunomaduro/collision v8.1.0 conflicts with phpunit/phpunit 9.5.7.
    - nunomaduro/collision v8.1.0 conflicts with phpunit/phpunit 9.5.5.
    - nunomaduro/collision v8.1.0 conflicts with phpunit/phpunit 9.5.4.
    - Root composer.json requires nunomaduro/collision ^8.1 -> satisfiable by nunomaduro/collision[v8.1.0, v8.1.1].

When added to Laravel 11, which needs to have
"nunomaduro/collision": "^8.1",
"phpunit/phpunit": "^10.0"

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

  Problem 1
    - Root composer.json requires kmlaravel/laravel-geographical-calculator ^2.2 -> satisfiable by kmlaravel/laravel-geographical-calculator[v2.2.0].
    - kmlaravel/laravel-geographical-calculator v2.2.0 requires phpunit/phpunit ^9.5 -> found phpunit/phpunit[9.5.0, ..., 9.6.17] but it conflicts with your root composer.json require (^10.0).

but the laravel-geographical-calculator is tied to "phpunit/phpunit": ^9.5

@marlocorridor
Copy link

We might use this as a workaround.
Please share how did you solve this. :)

https://thisinterestsme.com/php-haversine-formula-function/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants