io238 / laravel-iso-countries

Ready-to-use Laravel models and relations for country (ISO 3166), language (ISO 639-1), and currency (ISO 4217) information with multi-language support.
MIT License
38 stars 9 forks source link

Not Compatible with Laravel 11 #11

Open Tschucki opened 6 months ago

Tschucki commented 6 months ago

You can not install this package with Laravel 11.

Problem 1
    - io238/laravel-iso-countries[0.1.0, ..., 0.2.0, 1.0.0, ..., 1.1.2] require illuminate/contracts ^8.0 -> found illuminate/contracts[v8.0.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require.
    - io238/laravel-iso-countries 1.1.3 requires illuminate/contracts ^7.0|^8.0|^9.0 -> found illuminate/contracts[v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.16] but these were not loaded, likely because it conflicts with another require.
    - io238/laravel-iso-countries 1.2.0 requires illuminate/contracts ^7.0|^8.40|^9.0|^10.0 -> found illuminate/contracts[v7.0.0, ..., v7.30.6, v8.40.0, ..., v8.83.27, v9.0.0, ..., v9.52.16, v10.0.0, ..., v10.48.10] but these were not loaded, likely because it conflicts with another require.
    - Root composer.json requires io238/laravel-iso-countries * -> satisfiable by io238/laravel-iso-countries[0.1.0, 0.2.0, 1.0.0, ..., 1.2.0].
KamalPixi commented 4 months ago

Guys, any solution on this?

Tschucki commented 4 months ago

He just needs to remove the contracts dependency.

I'll open a pull request later.