how to integrate paypal with codeigniter 4?

  codeigniter-4, paypal, php

i am learning Codeigniter 4.i want to integrate PayPal gateway with my Codeigniter 4 application but i did not find any library for Codeigniter 4. many i found but all are for Codeigniter 3. but Codeigniter 4 is totally different than Codeigniter 3 in sense of namespacing and services, and controller, model creation. so how I can integrate PayPal with Codeigniter 4 ? any library or sdk or helping tutorail ? i tried to follow this library but this is for codeigniter 3.

Source: Ask PHP