Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires spatie/browsershot v4.x-dev -> satisfiable by spatie/browsershot[v4.x-dev].
- spatie/browsershot v4.x-dev requires php ^8.2 -> your php version (8.1.27) does not satisfy that requirement.