I use PHP 8.0 with slim 4.9 and stripe-php 7.104 on my server and get:
Fatal error: Uncaught TypeError: Slim\App::__construct(): Argument #1 ($responseFactory) must be of type Psr\Http\Message\ResponseFactoryInterface, array given
triggered by a call from server/php/index.php on line 18
???