How to manage PayPal composer dependencies?

I try to manage updates and dependencies but notice:
Package paypal/rest-api-sdk-php is abandoned
How to manage a new one and updated?

Message:
you should avoid using it. No replacement was suggested.

There isn’t a way to really “officially” maintain that repo unless you work for PayPal. I’m actually using that repo as a test project and I’ve actually switched to using their 2.0 beta version of it. Though the issue is they’ve stopped development for that branch as well so if you want to maintain it yourself locally, you have to equate for your locally installed PHP version. I’m running on PHP 8.2.9, so I had to deal with a lot of the dynamic variable errors.

What about

  1. require.symfony/mailer : unbound version constraints (*) should be avoided
  2. require.opencage/geocode
    It seems if you define higher version it can be an issue due to PHP version.
    How to deal with this?
    In example: PHP 7.4

Well if you’re having issues with even other packages then I would suggest checking your composer version. I’m running composer 2.5.5 with PHP 8.2.9 and it’s working just fine.