I'm trying to use spatie/laravel-enum in my Laravel 10 project, but I'm encountering an error related to compatibility. I believe there is a conflict between the requirements of spatie/laravel-enum and Laravel 10. Can you please help me resolve this issue?
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- illuminate/support[v8.0.0, ..., v8.11.2] require php ^7.3 -> your php version (8.1.13) does not satisfy that requirement.
- Root composer.json requires laravel/framework ^10.0 -> satisfiable by laravel/framework[10.x-dev].
- spatie/laravel-enum[3.0.0, ..., 3.0.1] require illuminate/support ^8.0 || ^9.0 -> satisfiable by illuminate/support[v8.0.0, ..., 8.x-dev, v9.0.0-beta.1, ..., 9.x-dev].
- Only one of these can be installed: illuminate/support[v8.0.0, ..., 8.x-dev, v9.0.0-beta.1, ..., 9.x-dev], laravel/framework[10.x-dev]. laravel/framework replaces illuminate/support and thus cannot coexist with it.
- Root composer.json requires spatie/laravel-enum ^3.0 -> satisfiable by spatie/laravel-enum[3.0.0, 3.0.1].
I'm trying to use spatie/laravel-enum in my Laravel 10 project, but I'm encountering an error related to compatibility. I believe there is a conflict between the requirements of spatie/laravel-enum and Laravel 10. Can you please help me resolve this issue?