Your requirements could not be resolved to an installable set of packages.
Problem 1
- larastan/larastan v2.9.8 requires illuminate/console ^9.52.16 || ^10.28.0 || ^11.0 -> satisfiable by laravel/framework[v10.28.0, ..., 10.x-dev], illuminate/console[v9.52.16, 9.x-dev, v10.28.0, ..., 10.x-dev, v11.0.0, ..., 11.x-dev].
- larastan/larastan 2.x-dev requires illuminate/console ^9.52.16 || ^10.28.0 || >=11 <11.15.0 -> satisfiable by laravel/framework[v10.28.0, ..., 10.x-dev], illuminate/console[v9.52.16, 9.x-dev, v10.28.0, ..., 10.x-dev, v11.0.0, ..., v11.14.0].
- illuminate/console[v9.52.15, ..., 9.x-dev] require illuminate/contracts ^9.0 -> found illuminate/contracts[v9.0.0-beta.1, ..., 9.x-dev] but it conflicts with your root composer.json require (^10.0|^11.0).
- illuminate/console[v10.26.0, ..., 10.x-dev] require laravel/prompts ^0.1.9 -> found laravel/prompts[v0.1.9, ..., v0.1.25] but it conflicts with your root composer.json require (^0.2.0).
- laravel/framework[v10.28.0, ..., 10.x-dev] require laravel/prompts ^0.1.9 -> found laravel/prompts[v0.1.9, ..., v0.1.25] but it conflicts with your root composer.json require (^0.2.0).
- illuminate/console[v11.0.0, ..., 11.x-dev] require php ^8.2 -> your php version (8.1.29) does not satisfy that requirement.
- Root composer.json requires larastan/larastan ^2.9.8 -> satisfiable by larastan/larastan[v2.9.8, 2.x-dev].