In addition to the require
directive in the composer.json, you can also set the platform config to tell Composer to download dependencies for PHP 7.4. This is how you can configure that:
We use PHP 7.4.8.
After that, you can re-run composer install
to generate a new vendor folder.
Note that you may need to downgrade some dependencies to support this older PHP version.