asantibanez/livewire-select

Laravel 10 compatibility issue

Opened this issue · 4 comments

This package is not compatible with laravel 10.

I am also facing the same issue:

Method 'App\Http\Livewire\ActivitySelect::options()' is not compatible with method 'Asantibanez\LivewireSelect\LivewireSelect::options()'

+1 I can't even install it on a fresh laravel 10.10 application:

❯ composer require asantibanez/livewire-select
Using version ^2.1 for asantibanez/livewire-select
./composer.json has been updated
Running composer update asantibanez/livewire-select
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires asantibanez/livewire-select ^2.1 -> satisfiable by asantibanez/livewire-select[v2.1.0].
    - asantibanez/livewire-select v2.1.0 requires illuminate/support ^6.0|^7.0|^8.0|^9.0 -> found illuminate/support[v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.10] but these were not loaded, likely because it conflicts with another require.

You can also try re-running composer require with an explicit version constraint, e.g. "composer require asantibanez/livewire-select:*" to figure out if any version is installable, or "composer require asantibanez/livewire-select:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Would be nice to have it running with laravel 10! Thanks 👏🏻

Since there's been no update. I've created a fork and applied the changes there to be compatible with Livewire v3. Feel free to use my fork as a temporary solution till the main one gets updated.