asantibanez / livewire-select

Livewire component for dependant and/or searchable select inputs
MIT License
495 stars 93 forks source link

Laravel 10 compatibility issue #48

Open wahid09 opened 1 year ago

wahid09 commented 1 year ago

This package is not compatible with laravel 10.

DevNgugi commented 1 year ago

I am also facing the same issue:

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

nightcoding commented 12 months ago

+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 👏🏻

domthomas-dev commented 10 months ago

Do you try this ? https://github.com/laravel-shift/livewire-select

sinarahmany commented 1 month ago

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.