masmerise / livewire-toaster

Beautiful toast notifications for Laravel / Livewire.
MIT License
342 stars 22 forks source link

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

Closed raliqala closed 1 year ago

raliqala commented 1 year ago

Hi I'm trying to use this package but when I install it I get the following error.

I'm using laravel 10 and livewire

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

  Problem 1
    - masmerise/livewire-toaster[0.1, ..., 0.4] require laravel/framework ^9.0 -> found laravel/framework[v9.0.0, ..., v9.52.9] but it conflicts with your root composer.json require (^10.10).
    - masmerise/livewire-toaster[1.0.0, ..., 1.2.0] require php ~8.2 -> your php version (8.1.10) does not satisfy that requirement.
    - Root composer.json requires masmerise/livewire-toaster * -> satisfiable by masmerise/livewire-toaster[0.1, 0.2, 0.3, 0.4, 1.0.0, ..., 1.2.0].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require masmerise/livewire-toaster:*" to figure out if any version is installable, or "composer require masmerise/livewire-toaster:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
mabdullahsari commented 1 year ago

Please see https://github.com/masmerise/livewire-toaster/issues/8