As much i know Laravel 10 and Livewire v3 both require minimum PHP 8.1
but while installing that package getting that error
Using version ^0.4.0 for masmerise/livewire-toaster
./composer.json has been updated
Running composer update masmerise/livewire-toaster
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 masmerise/livewire-toaster ^0.4.0 -> satisfiable by masmerise/livewire-toaster[0.4].
- masmerise/livewire-toaster 0.4 requires laravel/framework ^9.0 -> found laravel/framework[v9.0.0, ..., v9.52.16] but it conflicts with your root composer.json require (^10.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.
As much i know Laravel 10 and Livewire v3 both require minimum PHP 8.1 but while installing that package getting that error